bug-grep
[Top][All Lists]
Advanced

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

Re: [bug-grep] doc bug in grep; PATTERN implies a regexp used in --inclu


From: Julian Foad
Subject: Re: [bug-grep] doc bug in grep; PATTERN implies a regexp used in --include or --exclude
Date: Wed, 15 Dec 2004 12:29:17 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8a5) Gecko/20041122

Stepan Kasal wrote:
On Tue, Dec 14, 2004 at 10:37:27AM -0400, Tony Abou-Assaleh wrote:
better as "WHEN is either `never', `always', or `auto'", but this change

You can specify ``--color'' without any parameter--that's why there is
``may be''.

Not quite right. The syntax is "--color[=WHEN]" and if you use the optional "=WHEN" part then WHEN cannot be empty. If you don't use the optional "=WHEN" part then the definition of "WHEN" is irrelevant. Tony's suggestion is good.

- Julian




reply via email to

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