Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: Grep Help
Here's one way:
piglet.HJPRD-> cat x
$Log: Blah $Log: Blah 1 $Log: Blah 2 $Log: Blah 3 $ $Log: Blah 4 $
> > 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-lReceived on Wed Apr 12 2006 - 23:21:44 CDT