whois

Awk Print Line After A Matching /regex/

by Vivek Gite on May 13, 2009 · 8 comments

How do I a print line after matching /regex/ using awk under Linux / UNIX operating systems? I’d like print the line immediately after a line that matches /regex/ but not the line that matches itself.

{ 8 comments }