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

Home -> Community -> Mailing Lists -> Oracle-L -> AW: Grep Help

AW: Grep Help

From: <Andreas.Haunschmidt_at_voestalpine.com>
Date: Thu, 20 Apr 2006 16:31:34 +0200
Message-ID: <7762171B18EAB740932E3CBEC2A7872620F2B3@mail05.vastahl.net>


Hi Ethan,  

try single quotes instead of double quotes:  

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

-----Ursprüngliche Nachricht-----
Von: oracle-l-bounce_at_freelists.org [mailto:oracle-l-bounce_at_freelists.org]Im Auftrag von Ethan Post Gesendet: Mittwoch, 12. April 2006 21:57 An: Oracle Discussion List
Betreff: 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.  

--
http://www.freelists.org/webpage/oracle-l
Received on Thu Apr 20 2006 - 09:31:34 CDT

Original text of this message

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