Include row after a string
Posted: Sun Jul 10, 2011 1:17 am
How include all lines after a row containing a string?
The row number of the row that contains the string is variable and I can't use "skiprec" and "stopaft".
The input is
aaa
bbb
ccc
ddd
xxx
eee
fff
ggg
The string is 'xxx'
The output should be
eee
fff
ggg
Thanks
max
The row number of the row that contains the string is variable and I can't use "skiprec" and "stopaft".
The input is
aaa
bbb
ccc
ddd
xxx
eee
fff
ggg
The string is 'xxx'
The output should be
eee
fff
ggg
Thanks
max