|
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 changeYou 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
[Prev in Thread] | Current Thread | [Next in Thread] |