Unix Shell - grep: N Zeilen nach tring ausgeben

This is Interesting: Free IT Magazines  
Home > Archive > Unix Shell > August 2007 > grep: N Zeilen nach tring ausgeben





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author grep: N Zeilen nach tring ausgeben
Heinz Müller

2007-08-25, 7:29 am

Perhaps it was "grep -A 4", which prints the line containing the string
and the next four lines?


Cyrus Kriticos

2007-08-25, 7:29 am

Heinz Müller wrote:
> Perhaps it was "grep -A 4", which prints the line containing the string
> and the next four lines?


man grep

or post to de.comp.os.unix.shell in german

--
Best | "Was bekommt man/frau, wenn man/frau Software kauft?
regards | Nichts außer einem Haufen Nullen und Einsen."
Cyrus | -- aus d. Lizenzvereinbarung von Spybot Search&Destroy
ramesh.thangamani@gmail.com

2007-08-25, 7:29 am

On Aug 25, 1:38 pm, Cyrus Kriticos <cyrus.kriti...@googlemail.com>
wrote:
> Heinz M=FCller wrote:
>
> man grep
>
> or post to de.comp.os.unix.shell in german
>
> --
> Best | "Was bekommt man/frau, wenn man/frau Software kauft?
> regards | Nichts au=DFer einem Haufen Nullen und Einsen."
> Cyrus | -- aus d. Lizenzvereinbarung von Spybot Search&Destroy


yeah we do have this option in Linux

OPTIONS
-A NUM, --after-context=3DNUM
Print NUM lines of trailing context after
matching lines.
Places a line containing -- between contiguous
groups of
matches.

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com