in reply to Re: how do i get the 2nd line when the 1st is matched (quicky)
in thread how do i get the 2nd line when the 1st is matched

$ egrep -A1 some-pattern in-files|grep -v '<option'
  • Comment on Re^2: how do i get the 2nd line when the 1st is matched (even quickier)
  • Download Code