Releases: barneyb/lgrep
v1.4.0
Color support is available, in the GNU grep
-style, where it makes sense. For example, lgrep
doesn't have context lines, so the GREP_COLORS
capabilities for them are ignored. I find the default "matches are red" to be great; but the flexibility is there if you have other needs (e.g., protanopia).
The version printed by -V
now includes the commit hash it was built from. --version
prints out even more detail.
Trailing newlines are no longer included in strings being matched, which makes the $
anchor behave more reasonably. Note that anchors remain start/end of record, because that's the whole point. Normal matches, along with start and end, are all against records, so use \n
to match line separators. The log pattern always matches against lines, but it's the only one.
What's Changed
- Colors by @barneyb in #17
- use shadow-rs to assemble more interesting version strings by @barneyb in #19
- Newline handling by @barneyb in #20
Full Changelog: v1.3.0...v1.4.0
v1.3.0
v1.2.0
v1.1.0
v1.0.0
First release of "complete" functionality:
- processes records, instead of lines
- can start/stop processing of a file, separate from matching
- graceful chain/pipe support, including w/ multiple input files
- mostly works good?
Source-only; cross-compilation is hard. With macOS involved, it's basically impossible. Thank goodness for rustup.rs making self-compilation relatively straightforward.