GitHub

Release list

0.1.0

First release of uu_grep, a Rust reimplementation of GNU grep, published on
crates.io as uu_grep 0.1.0 on 2026-06-02.

This tag was added retroactively. The published crate records git sha 8284fba0,
which never landed upstream; 56d774f is the closest commit in this repository
(identical matcher.rs, searcher.rs and line_buffer.rs).

Highlights

  • Byte-oriented search engine (input is never assumed to be UTF-8) with GNU-compatible
    exit codes: 0 match, 1 no match, 2 error.
  • Regex matching backed by oniguruma, covering basic, extended, fixed-string and Perl modes.
  • Context handling (-A/-B/-C), counting, file listing (-l/-L), quiet mode,
    -m max-count, recursion, binary detection and colored output.
  • Buffer-at-a-time fast path for plain literal patterns, avoiding per-line costs when a
    buffer holds no match.
  • CI runs the GNU grep testsuite against uu_grep and posts the comparison on pull requests.
  • Benchmarks wired to CodSpeed; code coverage reported to Codecov across Linux, macOS and Windows.

Known limitations

Locale and encoding are not honored — see the README for the current list.

latest-commit

Pre-release

Read the original on github.com ↗