Thread
:
looping in awk
View Single Post
Jun 20th, 2005, 9:12 AM
#
4
jim mcnamara
Hobbyist Programmer
Join Date: Jun 2005
Location: New Mexico
Posts: 228
Rep Power:
4
This looks for the presence of column starting at 10 ending at 14 and exists anywhere
in file2.
(
Toggle Plain Text
)
awk ' {print substr($3,5,4)}' file1 > t.sed grep -f t.sed file2 > final_output
awk ' {print substr($3,5,4)}' file1 > t.sed grep -f t.sed file2 > final_output
jim mcnamara
View Public Profile
Find More Posts by jim mcnamara