GNU bug report logs - #56453
Bug reports

Previous Next

Package: grep;

Reported by: "GUI" <1678556598 <at> qq.com>

Date: Fri, 8 Jul 2022 16:40:01 UTC

Severity: normal

Tags: notabug

Full log


View this message in rfc822 format

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: GUI <1678556598 <at> qq.com>
Cc: 56453 <at> debbugs.gnu.org
Subject: bug#56453: 回复: bug#56453: Bug reports
Date: Fri, 8 Jul 2022 22:42:50 -0500
On 7/8/22 21:53, GUI wrote:
> " If no FILE is given, recursive searches examine the working  directory,  and nonrecursive searches read standard input. "You use the word 'and' to say 'If no FILE is given' when this happens, 'recursive searches Examine the working directory' and 'nonrecursive searches read standard input'. This statement is inconsistent with the result of running in terminal.

Not at all. Several FILEs were given in your example:

> $ grep Download dwad dawdwa Downloads Downloads
> grep: dwad: No such file or directory
> grep: dawdwa: No such file or directory
> grep: Downloads: Is a directory
> grep: Downloads: Is a directory

Here 'dwad', 'dawdna', 'Downloads', and 'Downloads' are all FILEs. Since 
it's not the case that "no FILE is given", for your example it doesn't 
matter what the rest of that sentence says.





This bug report was last modified 2 years and 345 days ago.

Previous Next


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