[Ilugc] Grep two lines from text file with different A and B switch
bala150985 at gmail.com
Thu Jul 26 18:24:23 IST 2012
I have many text file like so
Now I need the output like shown below.
I can get the first line by the command
$*grep "MD5 " */reports/report.txt*
If I want the next Network Activity
$*grep "Network Activity" -A5 */reports/report.txt*
However how can I get to do both of these in the same line so that their
outputs are interleaved ?
More information about the ilugc