Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: Grep Help
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-lReceived on Thu Apr 13 2006 - 07:06:51 CDT
![]() |
![]() |