GNU bug report logs -
#56453
Bug reports
Previous Next
Full log
View this message in rfc822 format
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.