3 ms·
-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
by _delirium 14y 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").
- eschulte 14y agoThanks 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
- ineedtosleep 14y agoCurrently -r and -R are essentially the same flags, correct? And this new change would make -R and -r two different operations?