Search Results

Search: Posts Made By: revaroo
11,035
Posted By revaroo
Thanks Rudi, that works great too :)
Thanks Rudi, that works great too :)
11,035
Posted By revaroo
Perfect, thank you so much....
Perfect, thank you so much....
11,035
Posted By revaroo
awk - how to print specific field if a string is matched
hi gurus,

I would like to be able to use awk to process 1 file as such:

abc 1 2 3 4 5 6 7 8 9 10
flags 1 2 4
flags 1 2 5
abc 2 3 4 5 6 7 8 9 10 11
flags 1 2 3
abc 4 5 6 7 8 9 6 7 78 89 ...
1,560
Posted By revaroo
MadeInGermany, I cannot get your script to...
MadeInGermany,

I cannot get your script to work.

I am having to loop what I have in my filename.txt search

so I am doing a

for file in `cat filename`
do
awk '/ABC/ {f=0} ($0 ~ search)...
1,560
Posted By revaroo
Find a string and print all lines upto another string
Ok I would like to do the following

file test contains the following lines. between the lines ABC there may be any amount of lines up to the next ABC entry.
I want to grep for the filename.txt...
Showing results 1 to 5 of 5

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