bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: grep incorrect results with pattern ending in "\$"?


From: Elliott Hughes
Subject: RE: grep incorrect results with pattern ending in "\$"?
Date: Wed, 9 Jan 2002 17:34:56 -0000

you're right. (thanks too to Akim Demaille for pointing this out.)

sorry about that: i'm still trying to switch to bash from rc, and have
difficulty digesting the huge man page.

 --elliott

> -----Original Message-----
> From: address@hidden [mailto:address@hidden
> Sent: 09 January 2002 16:06
> To: Elliott Hughes
> Cc: 'address@hidden'; Martin Dorey
> Subject: Re: grep incorrect results with pattern ending in "\$"?
> 
> 
> Elliott Hughes <address@hidden> wrote:
> > i find unexpected results from:
> >
> > % grep "\$.*\$.*\$" ~/playground/dollars
> 
> Replace "grep" with "echo" to see why.  Then reread the quoting
> section of your shell's man page.  You might find 'single quotes'
> useful.
> 
> 
> paul
> 


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**********************************************************************




reply via email to

[Prev in Thread] Current Thread [Next in Thread]