bug-grep
[Top][All Lists]
Advanced

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

Re: [bug-grep] Re: fgrep bug


From: Bob Proulx
Subject: Re: [bug-grep] Re: fgrep bug
Date: Thu, 2 Dec 2004 17:51:56 -0700
User-agent: Mutt/1.5.6+20040907i

Tim Waugh wrote:
> Bob Proulx wrote:
> >   grep -- pattern $randomfilelist
> 
> For globbing you also need to use patterns such as ./* instead of just
> * to be sure that files named "-" are not taken to be standard input.

Oh my goodness!  'grep' does take "-" as an alias for stdin.  I never
knew that.

Good catch.

Bob

Attachment: signature.asc
Description: Digital signature


reply via email to

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