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