|
grep till second pattern
Hi...
I want the lines upto the second occurance of a pattern to be printed.... i
know only till the first occurance....
i use awk '/pattern1/,/pattern2/' file
or sed -n '/pat1/,/pat2/p' file
I want all the lines from the start of the file till the second occurance of pattern called "Score"
Thanks
|