Create a convenience rgrep symlink for bsdgrep(1) that observes grep -r behavior
Details
Details
Diff Detail
Diff Detail
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 8476 Build 8777: arc lint + arc unit
Event Timeline
Comment Actions
Interesting, the gnugrep package does not install rgrep, but this change seems sensible regardless of whether we install rgrep or not.
Comment Actions
I committed the grep.c part of the change in rS316473. I'm less sure about installing the symlink, but in any case if we add it it should be mentioned in the man page and have a MLINKS entry.
Comment Actions
I went ahead and updated this, since I don't think it necessarily hurts to go ahead and install rgrep due to:
- It is only WITH_BSD_GREP (at the moment), so I'm not sure that it hurts much
- -r is a really commonly used flag
- rgrep is also really commonly installed on many GNU/Linux distributions, which isn't a good argument in itself but it would allow for a friendly migration for many