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
F81649605: D10451.diff
Fri, Apr 19, 11:19 AM
Unknown Object (File)
Wed, Mar 27, 1:23 AM
Unknown Object (File)
Dec 20 2023, 2:30 AM
Unknown Object (File)
Dec 19 2023, 3:57 PM
Unknown Object (File)
Dec 10 2023, 2:31 PM
Unknown Object (File)
Nov 29 2023, 7:31 PM
Unknown Object (File)
Oct 13 2023, 5:25 PM
Unknown Object (File)
Oct 12 2023, 11:23 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.