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: <Jared.Still_at_radisys.com>
Date: Thu, 5 Feb 2004 12:36:12 -0800
Message-ID: <OF74BAEB17.F6F4072B-ON88256E31.00711C21-88256E31.00711CC0@radisys.com>


Maybe you missed my earlier post, or those of others? get gnu grep

grep -3 string file

this shows 6 lines of context for each hit.

Jraed

"Vergara, Michael (TEM)" <mvergara_at_guidant.com> Sent by: oracle-l-bounce_at_freelists.org
 02/05/2004 11:52 AM
 Please respond to oracle-l  

        To:     <oracle-l_at_freelists.org>
        cc: 
        Subject:        RE: OT: HP-UX 11/grep


No no no...

I found the command: SEARCH. It's kinda like grep, but grep will only display the line where the string was found. SEARCH /WINDOW would give you lines optionally before or after the string. THAT's what I'm trying to find...

Next?

-----Original Message-----
From: Mladen Gogala [mailto:mladen_at_wangtrading.com] Sent: Thursday, February 05, 2004 10:54 AM To: oracle-l_at_freelists.org
Subject: Re: OT: HP-UX 11/grep

vi

On 02/05/2004 01:42:42 PM, "Vergara, Michael (TEM)" wrote:
> Hi Gang...sorry about being kinda OT...but...

>=20

> 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=3D20
> for. I don't even remember the command nowadays.
>=20

> Does anyone know of an analogous command that can be used in the
> *NIX environment?
>=20

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




----------------------------------------------------------------
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 - 14:36:12 CST

Original text of this message

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