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)
Wed, Sep 23, 6:49 PM
Unknown Object (File)
Wed, Sep 23, 6:38 PM
Unknown Object (File)
Wed, Sep 23, 6:35 PM
Unknown Object (File)
Wed, Sep 23, 1:02 PM
Unknown Object (File)
Sun, Sep 20, 4:48 PM
Unknown Object (File)
Thu, Sep 17, 4:29 PM
Unknown Object (File)
Thu, Sep 17, 4:19 PM
Unknown Object (File)
Thu, Sep 17, 3:41 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.