Help with Grep

Ed Lawson elawson at grizzy.com
Thu Feb 13 16:11:12 EST 2003


My son who is working at an unamed, but major health care institution in 
boston has a desparate
need to extract all instances of  the following four text strings in a 6 
meg file:

po=
to=
delay=
dsn=4

  It is an urgent issue as the SQL slammer just got into their internal 
net and the instituion is down hard.

He was thinking he should be able to use grep, but not sure how to do it 
and I can't come up with a quick answer at work.  Can anyone provide a 
quick script/command to do this.  I assume perl would be another option.
Many thanks.

Ed Lawson




More information about the gnhlug-discuss mailing list