On 01/02/2012 01:22 PM, Paul Eggert wrote:
This is not an upward compatible change, since "grep -r PAT<file"
will no longer search standard input, but that's OK; nobody should
be using "grep -r" that way anyway.

... except people which use GREP_OPTIONS.

We should first warn about this, and then change it after a year or so.

In addition, it seems to me that while this behavior would be fine for -r/-R, keeping a default of stdin would be better for --directories=recurse, which is currently a synonym.

Please revert, and let more time pass in the future before installing backwards-incompatible changes.

Paolo

Reply via email to