Follow-up Comment #5, bug #25197 (project grep):

Sorry for being a bit too terse.  The main reason why this cannot be changed
is interoperability.  Even though POSIX does not include -r, other grep
implementations such as NetBSD grep do, and it would be bad to break
compatibility with it (as well as with scripts written in the past ~20 years).
 I do see the point in your proposal, but it's not really feasible to go
beyond warning.

> As another example, note that the git project's 'git grep'
> defaults to the current directory without a '.' argument.

This is different; git grep does not have a non-recursive mode (AFAICT) and
cannot ever get its input from stdin.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?25197>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/



Reply via email to