Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: "KATHY.WEST@US.GASES.BOC.COM" <KATHY.WEST@US.GASES.BOC.COM>
Subject: Showing context and grep
Date: 1997/09/26	[thread overview]
Message-ID: <342BB790.AB3@US.GASES.BOC.COM> (raw)


Hi all,

I am using grep to search many large log files for different events. 
For each line that's matched, I would like to show the matched line and
the line that immediately follows it.

I have looked through the man pages and can't figure out a way to do
this.  Does anyone know a way?  BTW, I don't have to use grep; any DEC
UNIX tool will do.

Thanks in advance for you help,

mp



             reply	other threads:[~1997-09-26  4:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-09-26  4:00 KATHY.WEST [this message]
1997-09-30  4:00 ` Showing context and grep Phil Farrell
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox