Page MenuHomeFreeBSD

bsdgrep(1): Add GNU compatible version string indicator
ClosedPublic

Authored by kevans on Apr 21 2017, 11:43 PM.
Tags
None
Referenced Files
Unknown Object (File)
Oct 9 2024, 7:55 PM
Unknown Object (File)
Sep 26 2024, 7:27 PM
Unknown Object (File)
Sep 11 2024, 7:42 AM
Unknown Object (File)
Sep 6 2024, 1:46 AM
Unknown Object (File)
Sep 2 2024, 4:35 PM
Unknown Object (File)
Aug 17 2024, 11:57 PM
Unknown Object (File)
Aug 10 2024, 3:35 AM
Unknown Object (File)
Aug 9 2024, 3:26 AM
Subscribers
None

Details

Summary

mandree@ pointed out in r218614 that there's no indication
that a version of bsdgrep(1) is or is not compiled with GNU-isms. Adding
an indicator to the version string is sensible, so I've added a version
of it with "GNU compatible" in the name.

At the moment, it may or may not be 100% accurate, as it really only describes
regex compatibility. I think we're fairly close to flag/option parity as of recent
versions, so this should be a reasonable claim.

As an aside, I think I've amended the options somewhere that will likely require
an update to all of the nls/ bits, since I failed to do that.

Test Plan

Compile versions with and without GNU_GREP_COMPAT, observe grep -V

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Apr 22 2017, 1:01 AM
This revision was automatically updated to reflect the committed changes.