Quote:
Originally Posted by ghostdog74
try produce your code next time.
Code:
$ awk -F"=" '/tcscan.*volume.*rescale/{print $NF}' file
2.473
|
Thank you all!
It works!
I really enjoy writing my own code,
but sometimes I get stuck......
Just to add a little more info to this thread:
awk -F= '/rescale/ { print $3 }' lista
prints me the result I want,
and
num=`awk -F= '/rescale/ { print $3 }' lista`
adds the result to the $num variable,
therefore I can use it later in the script.
Thanks again!