Releases: Genivia/ugrep
ugrep v3.7.8
New complementary options --min-depth
, --max-depth
, --min-line
and --max-line
which are added for consistency with the updated options --min-count
and --max-count
. Updated the --min-count
option, which can now be combined with any other option except with -v
(--invert-match
). Updated option -K
(--range
) to take a MAX
argument instead of a FIRST
argument for consistency with other min/max options. Recursive searching sysfd, such as /proc and /sys, no longer blocks on special files/devices. Fixed inconsistent colorization with option -v
when used with context options -A
, -B
and -C
. Fixed option -r
when combined with file argument -
(read standard input), which does both, like GNU grep. Updated --stats
reporting and other minor improvements.
ugrep v3.6.0
New --replace
option to replace pattern matches in the output with custom formatted text with %
fields to include pattern match data. This option can be combined with any other option, including -y
(--any-line
) to pass through a file with substitutions applied to the output. To make ugrep more user-friendly, the new --help format
option argument displays a summary of %
format fields, the new --help regex
option argument displays an overview of regular expression pattern syntax, and the new --help globs
option argument displays the gitignore-style glob syntax and conventions used by ugrep. Increased searching speed of large files with AVX optimizations applied to the default pattern matcher engine. AVX optimizations were largely disabled (only partially applied) to make ugrep binary portable on Linux platforms since ugrep v3.3.5, requested by issue trackers #103 and #143. Binary portability over x86/x64 now works better with new multi-version code selected at runtime to run the original faster pattern matching engine. More coming soon!
ugrep v3.5.0
New --zmax=NUM
option to be used with -z
(--decompress
) to search compressed files and archives recursively stored within tar/zip/cpio/pax archives for up to NUM
recursive expansion levels deep. (Directory trees in archives are already recursively traversed and do not require --zmax
.) The --zmax
argument may range from 1 (default) to 99 for up to 99 recursive decompression and de-archiving steps. Improved option -U
to be used for backward compatibility with GNU/BSD grep by no longer flagging invalid UTF as "binary files". More to come soon!
ugrep v3.4.0
New Boolean search query options --files
and --lines
. The specified Boolean search query conditions apply to lines by default. Because GNU/BSD grep and ugrep are generally line-based, --lines
is the default option. Specify --files --bool
to apply the specified Boolean query to files as a whole: a file matches if all Boolean conditions are satisfied by matching patterns anywhere in the file. More to come soon!
ugrep v3.3.12
Updated Windows CRLF output while maintaining grep compatibility. Faster column -k
by on-demand computation. Faster grep files containing long Iines of text and binary files. This update corrects and further improves the input buffering method, which performed sub-optimally for long lines containing many pattern matches.
ugrep v3.3.8
We made ugrep even better with Unicode 14 support, Windows filename globbing, new --format
fields, and updated option -t
filename patterns. More coming soon!
ugrep v3.3.7
We made ugrep even better with runtime enabling of of SSE2/AVX2/AVX512BW optimizations; ugrep -V
shows this as +sse2
, +avx2
and +avx512bw
, respectively. New --hyperlink
option. Revised and enhanced option -P
(PCRE) compatible with GNU grep. Improved query UI option -Q
with quick Tab/Shift-Tab directory and file navigation, CTRL-Y file viewing with new option --view
to specify a file viewer, and improved CTRL-X/CTRL-R bookmarking to restore the search state. New --hexdump=a
option (asterisk) to display conventional *
for duplicate hex lines. Fixed a compatibility issue with GNU grep's binary file search results, which should now be the same. Improved option -P
(PCRE) search performance. Fixed a bug when the legacy grep GREP_COLOR
environment variable is defined (GREP_COLORS
is more powerful and preferred). More coming soon!
ugrep v3.2.2
Added zstd-compressed file search with option -z
(.zst
, .zstd
, .tzst
) and advanced .zipx
method zstd (93); other improvements. More coming soon!
ugrep v3.1.15
New --bool
option to specify Boolean search query patterns (with Google search syntax or fzf-like when used with -F
to search strings instead of regex patterns); new --and
and --not
options; new --dotall
option; updated --format
to support -v
and new %[NAME]#
named group captures with option -P
and using (?<NAME>PATTERN)
; updated \s
pattern matching to exclude newline; improved response time to cancelled deep recursive searches; fixed a crash issue; other improvements. More coming soon!
ugrep v3.0.6
New v3: performance enhancements and other improvements with a redesigned search engine. Search speeds are significantly increased when searching very large files (several GB). Added a new T3 benchmark with a large 13GB file to demonstrate the improvements. More features will be added soon!