Re:GNU grep 2.12 changes behavior of recursion options, brea...
by tinco on Thursday July 26, 2012 @11:19AM
(#4296400)
I think many people think it should not be fixed, even though it has a use case which is mentioned elsewhere in the comments.
I absolutely agree than any changes to interface like this should be in clearly defined milestone releases, possibly allowing patches to be backported to legacy versions.
Re:GNU grep 2.12 changes behavior of recursion options, brea...
by koenigdavidmj on Thursday July 26, 2012 @12:32PM
(#4296878)
FreeBSD grep is just GNU grep, it appears, up to but not including 9.0. Note the long --recursive option in the manual page snippet that you posted; no properly God-fearing BSD program would support long options.
Re:GNU grep 2.12 changes behavior of recursion options, brea...
by jasomill on Thursday July 26, 2012 @03:13PM
(#4298002)
The new non-GNU grep in FreeBSD 9 was designed to be compatible with GNU grep (pedantically, with GNU grep configured with --disable-perl-regexp as it has been in previous FreeBSD releases) because lots of ports depend on GNU grep behavior. The fear of God is not a sufficient reason to break ports.
This changes breaks rgrep, thus it should be held until a full version (3.0).
edit: my FreeBSD's `grep` manpage: