On Sat, Aug 7, 2021 at 4:43 AM Chris Drake <cryptoph...@gmail.com> wrote:
> Looks like the -r and -R got mixed up?
>
> What is now the "-R" behaves the same way as the original "-r", and now the 
> new "-r" behaves differently.
>
> For backwards-compatibility, the original behaviour should have been 
> preserved, and the new feature assigned to a new switch ?

Hi Chris,

There was no mix-up, and this is not new.
This was a deliberate decision that dates back to 2012 (first release
with it was 2.12).
Sorry this causes you difficulty, but at least one other grep
implementation has -r and -R options that work this way:

https://www.freebsd.org/cgi/man.cgi?query=grep



Reply via email to