Search Results

Search: Posts Made By: ctac_
12,269
Posted By ctac_
You can try this way # Get parameters from...
You can try this way
# Get parameters from command line
while getopts "b:r:w:f" opt; do
case "$opt" in
b)
BankName=${OPTARG}
;;&
r)
Region=${OPTARG}
...
997
Posted By ctac_
You can try this sed too sed...
You can try this sed too
sed '/^$/!{h;s/.*[Ff][Rr][Oo][Mm] \([^ ;]*\).*/PROMPT \1/;G;}' infile
6,311
Posted By ctac_
If you don(t want the output of return.sh no...
If you don(t want the output of return.sh
no need of :
: [...]
The null command. Exit status is set to zero.
you can try this way
./return.sh >/dev/null;echo reply is $?
1,676
Posted By ctac_
You can also try with sed. sed -n...
You can also try with sed.
sed -n '/<CompoundName>/!d;n;/InChI=/p' infile
2,012
Posted By ctac_
This way, you look for a number with 5 digits. ...
This way, you look for a number with 5 digits.
Starting with 2, the second digit can be 3, 4 or 5
the third digit can be 1, 0 or 3 and so on
You must use the | (or) to catch what you need.
sed -E...
1,751
Posted By ctac_
You can use sed too. If the data don't contain...
You can use sed too.
If the data don't contain _
sed 's/(/_/g;:A;s/\([^_]*\)\(.*\)_\([^_]*\)/\1(\3 \2/;tA;s/ / /g;s/ / /g;s/ $//' infile
6,053
Posted By ctac_
Hi, try RS="[^\"Mr.\"][.?!]"
Hi, try
RS="[^\"Mr.\"][.?!]"
Showing results 1 to 7 of 7

 
All times are GMT -4. The time now is 02:54 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy