Subject: Re: bug#75582: GNU grep 3.4 — enhancing manual

From: "David G. Pickett" <[email-masked]>
Date: Sat, 18 Jan 2025 17:35:10 +0000 (UTC)

No -r activity?
    On Saturday, January 18, 2025 at 12:30:01 AM EST, Jim Meyering <[email-masked]> wrote:   

 On Fri, Jan 17, 2025 at 10:35 AM David G. Pickett <[email-masked]> wrote:
> Should both -r and file names raise an error?
>
> $ grep -r xxx yyy zzz
> grep: yyy: No such file or directory
> grep: zzz: No such file or directory

That is expected behavior.
In that case, you've made a legitimate request to search recursively
for "xxx" in yyy and zzz.
It would probably elicit no diagnostic if you had files or directories
named yyy and zzz.