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: Grep Help

RE: Grep Help

From: Ian Cary \(C\) <Ian.Cary_at_ordnancesurvey.co.uk>
Date: Thu, 13 Apr 2006 12:50:17 +0100
Message-ID: <4AA808D68343824E8891632BD448AE6B02756121@OSMAIL.ordsvy.gov.uk>


Try using single quotes  

grep '\$Log:.*\$' f  

Cheers,  

Ian  


From: oracle-l-bounce_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org] On Behalf Of Ethan Post Sent: 12 April 2006 20:57
To: Oracle Discussion List
Subject: Grep Help  

> cat f

$Log: Blah

> grep "\$Log: .*\$" f

$Log: Blah

I am actually looking for a line which has Dollar Log Colon ...any characters...dollar...any characters...but this still returns the line, even thought it is missing the last dollar. I am sure this is a pretty obvious one, please help.  

.

This email is only intended for the person to whom it is addressed and may contain confidential information. If you have received this email in error, please notify the sender and delete this email which must not be copied, distributed or disclosed to any other person.

Unless stated otherwise, the contents of this email are personal to the writer and do not represent the official view of Ordnance Survey. Nor can any contract be formed on Ordnance Survey's behalf via email. We reserve the right to monitor emails and attachments without prior notice.

Thank you for your cooperation.

Ordnance Survey
Romsey Road
Southampton SO16 4GU
Tel: 023 8079 2000
http://www.ordnancesurvey.co.uk

--
http://www.freelists.org/webpage/oracle-l
Received on Thu Apr 13 2006 - 06:50:17 CDT

Original text of this message

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