Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: OT: HP-UX 11/grep

Re: OT: HP-UX 11/grep

From: Tanel Poder <tanel.poder.003_at_mail.ee>
Date: Thu, 5 Feb 2004 20:58:09 +0200
Message-ID: <209701c3ec19$ffc5b370$eafb23d5@porgand>


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
> -----------------------------------------------------------------
>



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
-----------------------------------------------------------------
Received on Thu Feb 05 2004 - 12:58:09 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US