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: Wed, 1 Dec 2004 19:28:41 -0700
User-agent: Mutt/1.5.6+20040907i

> address@hidden writes:
> > http://www.redhat.com/archives/redhat-list/2000-September/msg01325.html

> fgrep foo blah --- blah # that's three - signs

Try telling grep that there are no more options.

  fgrep -- foo blah --- blah # that's three - signs

That will avoid the --- being seen as an option.  This is generally a
good thing when processing random files.

  grep -- pattern $randomfilelist

Bob




reply via email to

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