Dear ALL,
I want to extract a string from a file and using the substr function to extract substrings from a string.
I have a file name say "test.dat"
cat test.dat | awk '{if($1=="Latitude") print $6 }'
this produce say "-090206.48241"
the I pipe this directly to
cat test.dat | awk...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.