Friday, 15 April 2016

awk print all lines after matching pattern

awk '/pattern/{f=1}f' file

replace the file and pattern according to your requirements

No comments:

Post a Comment