From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,ba77b28a27fe5498,start X-Google-Attributes: gidfee84,public From: "KATHY.WEST@US.GASES.BOC.COM" Subject: Showing context and grep Date: 1997/09/26 Message-ID: <342BB790.AB3@US.GASES.BOC.COM>#1/1 X-Deja-AN: 275732197 Organization: BOC Group Newsgroups: comp.unix.osf.osf1 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