Search Results

Search: Posts Made By: ducatisti
2,922
Posted By ducatisti
file.txt contents
Yea I know, but I was workin gto explain that the file was being worked through for Pavi's benefit. But thanks. And this will also save a process. :)
2,922
Posted By ducatisti
cat file.txt | awk '/JEWL/ {print $2}' ...
cat file.txt | awk '/JEWL/ {print $2}'


cat the file and pipe it to awk. Awk is a pattern/action language. The above simple script will look for the pattern JEWL and print the 60 that is the...
Showing results 1 to 2 of 2

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