Hacker News new | ask | show | jobs
by _delirium 5083 days ago
-R is the POSIX-standard flag for recursive grep, so that would be worse to change imo. It's also the flag used for recursive grep by the BSDs (some of which do support '-r', but only as a deprecated historical option... OpenBSD calls it "strongly discouraged").
2 comments

Thanks for these important missing bits of information, in light of these I think the change sounds much more reasonable.

/me updates rgrep alias to use -R

Currently -r and -R are essentially the same flags, correct? And this new change would make -R and -r two different operations?