Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: OT: HP-UX 11/grep
In GNU grep you can use -B or -A for setting how many leading or trailing
lines you want to print. I don't know about HP-UX standard grep though....
Tanel.
> vi
>
> On 02/05/2004 01:42:42 PM, "Vergara, Michael (TEM)" wrote:
> > Hi Gang...sorry about being kinda OT...but...
> >
> > A long time ago, when I used VMS, I could scan a file and see
> > a set number of lines before and after the line I was looking=20
> > for. I don't even remember the command nowadays.
> >
> > Does anyone know of an analogous command that can be used in the
> > *NIX environment?
> >
> > Thanks,
> > Mike
> ----------------------------------------------------------------
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> ----------------------------------------------------------------
> To unsubscribe send email to: oracle-l-request_at_freelists.org
> put 'unsubscribe' in the subject line.
> --
> Archives are at http://www.freelists.org/archives/oracle-l/
> FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
> -----------------------------------------------------------------
>
-- Archives are at http://www.freelists.org/archives/oracle-l/ FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html -----------------------------------------------------------------Received on Thu Feb 05 2004 - 12:58:09 CST
![]() |
![]() |