1

awk to print all lines after a pattern is found

view story
linux-howto

http://www.unix.com – Is there a way with aw to print all lines after a string is found There is a file like this Code: ....... ........ 2012/19/11 :11.58 PM some data lne no date 2012/19/11 :11.59 PM some other data 2012/20/11 :12.00 AM some other data some line without dates some more lines without dates 2012/20/11 :12.01 AM some more data .... ....... I need a way to display all lines after the first occurrence of the string 2012/20/11 That is Code: 2012/20/11 :12.00 AM some other data some line without dates some more lines without dates 2012/20/11 :12.01 AM some more data (HowTos)