On Mon, 02 Dec 2019 08:31:02 +0000, Miod Vallat wrote: > grep(1), when invoked with the -R option but no path, displays a > "recursive search of stdin" warning and acts as if -R had not been > specified. > > GNU grep, in that case, will perform a recursive search in the current > directory, i.e. uses an implicit "." path if none is given.
Our behavior was based on what GNU grep originally did. However, GNU grep has moved on and so should we. > This is IMO a much better behaviour. What about the following diff? OK millert@ - todd