Page MenuHomeFreeBSD

bsdgrep(1): Bump version number after recent fixes and restructuring, add copyright notice where substantial work has been done
ClosedPublic

Authored by kevans on May 29 2017, 3:38 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Aug 20, 1:58 AM
Unknown Object (File)
Sun, Aug 17, 7:11 AM
Unknown Object (File)
Fri, Aug 15, 11:17 PM
Unknown Object (File)
Fri, Aug 15, 8:11 PM
Unknown Object (File)
Jun 18 2025, 1:39 AM
Unknown Object (File)
Jun 17 2025, 4:36 AM
Unknown Object (File)
Jun 16 2025, 1:12 AM
Unknown Object (File)
Jun 13 2025, 7:12 AM
Subscribers
None

Details

Summary

To summarize, the following changes have been made over the last couple
of months:

  • (Feature) With bsdgrep -r, the working directory is implied if no directory is specified
  • (Feature) bsdgrep will now behave as bsdgrep -r does when it's named rgrep
  • (Feature) bsdgrep now understands -z/--null-data to use \0 as EOL
  • (Feature) GNU regex compatibility is now indicated with a "GNU compatible" in the version string
  • (Fix) --mmap no longer hangs when coming across an EOF without an accompanying EOL
  • (Fix) -o/--color matching generally improved, now produces earliest/longest matches
  • (Fix) Context output now more closely aligns with GNU grep
  • (Fix) Zero-length matches no longer exhibit broken behavior
  • (Fix) Every output line now honors -b/-H/-n flags
  • Tests have been added for previous regressions as well as other untested behaviors
  • Refactoring for further/later improvements
  • Various other fixes

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 9559
Build 10006: arc lint + arc unit

Event Timeline

This revision is now accepted and ready to land.May 29 2017, 1:10 PM
This revision was automatically updated to reflect the committed changes.