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: Tom Fox <tom_at_tafox.com>
Date: Thu, 13 Apr 2006 08:06:51 -0400 (EDT)
Message-ID: <Pine.LNX.4.63.0604130805220.13423@joseph.tafox.com>


It may be the double quotes you're using. I used single quotes and your commands work fine:

tom~> cat file
$Log: Blah

tom~> grep '\$Log: .*' file
$Log: Blah

tom~> grep '\$Log: .*\$' file

tom~> grep "\$Log: .*\$" file
$Log: Blah

tom~> grep -V
grep (GNU grep) 2.5.1

On Wed, 12 Apr 2006, Ethan Post wrote:

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

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

Original text of this message

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