|
From: | Paul Eggert |
Subject: | bug#56453: 回复: bug#56453: Bug reports |
Date: | Fri, 8 Jul 2022 22:42:50 -0500 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 |
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.
[Prev in Thread] | Current Thread | [Next in Thread] |