The content of the file is (file name is varlist):
Quote:
list1: 235.214 -6532.211 0.00214
list2(addition): -6524.214 23.125 0.00234
|
how to take those value using bash script. I tried to use
Quote:
$var1=`cat varlist | grep "list1" | expr substr \([0-9]......)\`
|
it result only error.