AW: Grep Help

  • From: <Andreas.Haunschmidt@xxxxxxxxxxxxxxx>
  • To: <post.ethan@xxxxxxxxx>, <oracle-l@xxxxxxxxxxxxx>
  • Date: Thu, 20 Apr 2006 16:31:34 +0200

Hi Ethan,
try single quotes instead of double quotes:
grep '\$Log: .*\$' f

-----Ursprüngliche Nachricht-----
Von: oracle-l-bounce@xxxxxxxxxxxxx [mailto:oracle-l-bounce@xxxxxxxxxxxxx]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. 

Other related posts:

  • » AW: Grep Help