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

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

Re: is this a grep bug?


From: Bernhard Rosenkraenzer
Subject: Re: is this a grep bug?
Date: Tue, 25 Jun 2002 15:39:00 +0200 (CEST)

On Tue, 25 Jun 2002, junior wrote:

> is this a bug?

No.


>  If not, how can I do it with grep/egrep/fgrep?
> 
> $ grep "--- ------" datafile
> grep: unrecognized option `--- ------'
> Usage: grep [OPTION]... PATTERN [FILE]...
> Try `grep --help' for more information.

Use either grep "\--- -----" datafile or grep -- "--- -----" datafile

LLaP
bero

-- 
This message is provided to you under the terms outlined at
http://www.bero.org/terms.html




reply via email to

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