Skip to content

Releases: Genivia/ugrep

ugrep v3.9.0

13 Aug 00:36
Compare
Choose a tag to compare

Release v3.9 makes -r the default recursive search without following symlinked directories, per popular demand. Symlinked files are always searched on a search path, except with option -p (--no-dereference).

ugrep v3.8.3

29 Jun 01:20
Compare
Choose a tag to compare

New option combination -o (--only-matching) with -ABC context to show the match within NUM columns, with context before and/or after, which visually aids in searching files with long lines; option -o with -b or -k now shows results on separate lines; new option --width to truncate long lines to the specified width or the terminal width by default; short ug command now sorts by name by default; query TUI ALT-] [ (increase/decrease context) and ALT-} { (increase/decrease fuzziness) keys switched meaning (quicker and more intuitive); new %+ format field used by updated --only-line-number option; new --help fuzzy help page; updated man pages; fixed bz2 issue cutting off decompression (rarely), fixed lz4 decompression error with tiny lz4 files of a few bytes.

ugrep v3.7.11

10 May 16:57
Compare
Choose a tag to compare

New -Zbest (--fuzzy=best) option argument best to only output the best matching patterns. Updated option -Z (--fuzzy) can now be combined with -U (--binary) to fuzzy match bytes instead of Unicode characters. Additional --stats results with total lines searched and matched, and time elapsed. 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. Other minor improvements and fixes.

ugrep v3.7.9

07 Apr 21:01
Compare
Choose a tag to compare

Additional --stats results with total lines searched and matched, and time elapsed. 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. Other minor improvements.

ugrep v3.7.8

05 Apr 17:28
Compare
Choose a tag to compare

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

12 Jan 14:49
Compare
Choose a tag to compare

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

05 Jan 17:30
Compare
Choose a tag to compare

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

20 Dec 15:36
Compare
Choose a tag to compare

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

11 Dec 20:08
Compare
Choose a tag to compare

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

23 Oct 18:24
Compare
Choose a tag to compare

We made ugrep even better with Unicode 14 support, Windows filename globbing, new --format fields, and updated option -t filename patterns. More coming soon!