GNU bug report logs - #75582
GNU grep 3.4 — enhancing manual

Previous Next

Package: grep;

Reported by: Anton Samokat <samokat700 <at> gmail.com>

Date: Wed, 15 Jan 2025 14:37:03 UTC

Severity: normal

Done: Jim Meyering <jim <at> meyering.net>

Bug is archived. No further changes may be made.

Full log


Message #11 received at 75582 <at> debbugs.gnu.org (full text, mbox):

From: sur-behoffski <sur-behoffski <at> grouse.com.au>
To: 75582 <at> debbugs.gnu.org
Subject: Re: bug#75582: GNU grep 3.4 — enhancing manual
Date: Thu, 16 Jan 2025 13:21:47 +1030
On 2025-01-16 08:05, Paul Eggert wrote:
> On 2025-01-15 02:51, Anton Samokat wrote:
>> Please, make it more simple and straightforward, remove possible ambiguity
> 
> Unfortunately these are competing goals.
> 
> Perhaps this would be better:
> 
> If no FILE is given read standard input, but if -r is given recursively 
> search the working directory instead.
> [...]

Interesting.  How about:

    If no FILE is given, grep's behaviour depends on the -r (recursive)
    option, which is disabled (non-recursive) by default:

        - If non-recursive, then read standard input; otherwise
        - If recursive, examine all files in the working directory,
          including recursively descending into subdirectories.

No idea if this is good, bad, or indifferent... others can decide.

s-b etc.




This bug report was last modified 184 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.