25 May
2009
25 May
'09
00:37
On May 24, 2009 06:01:10 pm Chuck Payne wrote:
A question. I been trying to figure out how to get the out put I want. I got a log that I am do a grep on statement mykeyword, but I to get it and the line that follows.
If I understand you correctly you want to get the line which contains your keyword and the line which follows. If so grep -A1 <mykeyword> <logfile> should work. You don't want to use grep? -- Don -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org