github Genivia/ugrep v2.1.7
ugrep v2.1.7

latest releases: v5.1.4, v5.1.3, v5.1.2...
3 years ago
  1. New/updated -Z, --fuzzy option for fuzzy (approximate) pattern matching:
-Z[MAX], --fuzzy[=MAX]
            Fuzzy mode: report approximate pattern matches within MAX errors.
            By default, MAX is 1 and one deletion, insertion or substitution is
            allowed.  When `+' and/or `-' precedes MAX, only insertions and/or
            deletions are allowed.  When `~' precedes MAX, substitution counts
            as one error.  For example, -Z+~3 allows up to three insertions or
            substitutions, but no deletions.  The first character of an
            approximate match always matches the begin of a pattern.  Option
            --sort=best orders matching files by best match.  No whitespace may
            be given between -Z and its argument.

Note: GNU grep -Z is the same as --null, whereas BSD grep -Z is the same as -z (decompress). Therefore, some say it is not a "standard" grep option and we decided to use -Z as a short form for --fuzzy.

  1. Switched to ignore hidden files and directories by default, like most Unix utilities already do such as ls. New short option -. (--hidden) to enable searching hidden files and directories. You can install ugrep by overriding this default with ./build.sh --enable-hidden --enable-color.

Don't miss a new ugrep release

NewReleases is sending notifications on new releases.