ugrep 6.5.0

Ultra fast grep with interactive query UI: search file systems, source code, text, binary files, archives (cpio/tar/pax/zip), compressed files (gz/Z/bz2/lzma/xz), documents, fuzzy search, and more. A faster, user-friendly replacement for GNU/BSD grep.

Tags utilities system-administrators developers
License BSDL
State stable

Recent Releases

6.5.004 Nov 2024 07:05 minor feature: Released 6.5 Faster binary file checking with SIMD (SSE2/AVX2/NEON) UTF-8 validation #421. New option `--context-separator=SEP`. Options `-W` and `-X` now also apply to `--format` fields ` o` and ` O` to output hex. Ugrep-indexer option `-z` to index zip/7z/tar/cpio/pax archives no longer indexes hidden directories and files stored in the archive. Ugrep-indexer option `-z`, which was broken due to a code refactoring mistake in one line of code.
5.1.009 Mar 2024 12:25 minor feature: Released 5.1.0 Implement improvement #360 and #174 to improve POSIX regex lazy quantifier matching in linear time using an updated advanced DFA transformation algorithm introduced in RE/flex in 2016.
4.5.215 Jan 2024 15:45 minor feature: Released 4.5.2 PR #344. PR #343. Zip search on 32 bit systems when option -M (or -t setting -M) is used.
4.3.507 Dec 2023 03:16 minor feature: Released 4.3.5 Updated option --index for accelerated index-based search, now also indexes and searches archives and compressed files with option -z. New ugrep.exe option --index for accellerated index-based search on Windows. Updated ugrep-indexer project accordingly to support archive/compressed file indexing with a new ugrep-indexer.exe version for Windows. Updated MacOS moar-pager #328. Faster search with -ABC context options #329.
4.3.425 Nov 2023 03:16 minor feature: Released 4.3.4 ug no longer quits with an error message when no default.ugrep config file was found. Allow config file importing in config files using config=FILE (does not permit recursive imports) see also #320. The output of + separators by no longer using them #317. -v with -ABC context #319. Configuration file option arguments that may got lost and causes option argument errors in some cases after parsing a config file, such as colors=.
4.3.316 Nov 2023 07:05 minor feature: Released 4.3.3 Added brotli compressed files search #312. Added bzip3 compressed files search #311. Updated option --pretty to accept a WHEN argument 'never', 'always', 'auto'. Improved TUI screen blanking response when a new search starts. .
4.3.204 Nov 2023 03:25 minor feature: Released 4.3.2 Double short option - enables both --files --bool (a single - enables --bool) for convenience. Updated thread pool scheduling and execution with thread affinity and priority settings. Improvements and for minor (mostly cosmetic).
4.0.325 Aug 2023 08:05 minor feature: Released 4.0.3 Add --delay=DELAY option to specify a default query TUI delay e.g. in the.ugrep config file with delay=DELAY; a GNU grep option -m compatibility.
4.0.019 Aug 2023 12:05 minor feature: Released 4.0.0 Improved and optimized internals: faster async output, removed redundant binary file checking, removed "rest line" buffering, enlarged input buffer, faster '' pattern matching, removed redundant color escape code output, -Q=DELAY instead of -QDELAY so -Q2 is -Q -2 as expected, and --index search.
3.12.609 Aug 2023 10:25 minor feature: Released 3.12.6 New option -S (--dereference-files) to follow symbolic lines only to files, not to directories, when using -r for recursive search; updated default recursive search to strictly perform -r.
3.12.210 Jul 2023 14:05 minor feature: Released 3.12.2 Speed improvements to further speed up common search patterns; ug and ug+ now enable --pretty by default.
3.12.004 Jun 2023 13:25 minor feature: Released 3.12.0 with new ug+ and ugrep+ commands New ug+ and ugrep+ commands to search pdfs, documents and image metadata; improved --filter option; speed improvements.
3.11.103 Apr 2023 03:16 minor feature: Released 3.11.1 Smarter interactive navigation in the TUI when option --tree is used with options -l or -c, enabling the navigation keys CTRL-S (jump forward), CTRL-W jump backward), TAB (chdir into directory and save query state), SHIFT-TAB (chdir.. and restore query state), CTRL-Y (view file).
3.11.019 Mar 2023 03:20 minor feature: Released 3.11.0 Updated --format output when used with -o to also enable -u to show all matches, improved --json, --xml, --csv output when used with -o, updated -o output with headings for every match, updated --replace output field m to output the number of matches sequentially, new --format and --replace field M outputs number of matching lines.
3.10.001 Mar 2023 14:45 minor feature: Released 3.10.0 New option --tree to output directory trees of files for options -l, -L and -c. Updated --pretty to enable --tree when output is sent to a terminal. Disable with --no-tree to output a traditional grep flat list.
3.9.116 Aug 2022 07:05 minor feature: Released 3.9.1 And optimize dir/file symlink follow logic to avoid calling lstat/stat whenever possible.
3.8.031 May 2022 03:15 minor feature: Released 3.8.0 New option combo -o with -ABC context; option -o with -b or -k shows results on separate lines; new option --width; short ug command now sorts by name by default; query TUI ALT- and ALT- keys switched; new + format field used by updated --only-line-number option; updated man pages.
3.7.908 Apr 2022 06:45 minor feature: Released 3.7.9 Additional --stats results with total lines searched and matched and time elapsed.
3.7.702 Apr 2022 03:16 minor feature: Released 3.7.7 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. colorization of option -v when used with context options -A, -B and -C. option -r when combined with argument - (read standard input), which does both, like GNU grep. Updated --stats reporting and other minor improvements.
3.5.006 Jan 2022 07:45 minor feature: Released 3.5.0 new option --zmax for -z to search compressed/archived files stored within archive files.
3.3.423 Jun 2021 07:45 minor feature: Released 3.3.4 Option -P performance improvements; Windows ugrep.exe -P Unicode re-enabled by ing a PCRE2 config problem.
3.3.104 Jun 2021 12:45 minor feature: Released v3.3.1 Improved query UI option -Q: Tab/Shift-Tab navigation, CTRL-Y file viewing with new option --view, and CTRL-X/CTRL-R bookmarking.
3.1.1227 Apr 2021 06:45 minor feature: Released 3.1.12 Added format field NAME # to output named capturing groups and NUM1 NAME1 NUM2 NAME2... # to output the first capturing group that matched by num or name; option --bool improvements.
2.5.622 Sep 2020 09:45 minor feature: Released 2.5.6 - query UI usability improvements and additions . Released 2.5.6 - query UI usability improvements and additions.
2.5.402 Sep 2020 03:15 minor feature: Vkey: build on hurd-i386 . . . Add Haiku install instructions to README. . . . Released 2.5.4 - missing lz4 macro. . Released 2.5.4 - automake. Released 2.5.4 - automake. Released 2.5.4 - updated Dockerfile.
2.5.319 Aug 2020 14:25 minor feature: Released 2.5.3 - new format fields a and p; incremental stdin searc h; updated --gitignore-files.
2.5.215 Aug 2020 06:25 minor feature: Updated Homebrew formula to v2.5.1 . Change macOS install instructions to built-in formula. . . . Updated README. . Released 2.5.2 - missing zlib compilation.
2.5.111 Aug 2020 03:15 minor feature: Updated Homebrew formula to v2.5.0 . Updated README. . Released 2.5.1 - query UI improvements new option --not.
2.5.028 Jul 2020 05:45 minor feature: Updated Homebrew formula to v2.4.1 . Updated README. . Updated README. . Released 2.5.0 - new query UI commands.
2.4.011 Jul 2020 12:45 minor feature: Released 2.4.0 - added ug command amp; ugrep --config to use config file s; --help WHAT ; improved AVX2 detection for optimization.
2.3.230 Jun 2020 12:45 minor feature: Updated Homebrew formula to v2.3.1 . Updated README. . Updated README. . Released 2.3.2 - gcc 10 compilation other improvements. . Updated README. . Updated README.
2.3.122 Jun 2020 10:45 minor feature: Updated Homebrew formula to v2.2.1 . Updated README. . Compilation on musl libc. . . . Released 2.3.0 - context matching enhancements. . Updated Hombrew formula to v2.3.0. . Released 2.3.1 - context matching enhancements and -G.
2.2.111 Jun 2020 05:45 minor feature: Improved README . Improved README. . Improved README. . Improved README. . Updated Homebrew formula to v2.2.0. . Improved README. . Improved README. . Improved README. . Improved README. . Improved README. . Improved README. . Improved README. . Spelling: preceeds. . . . Minor improvements. . Merge branch 'master' of https://github.com/Genivia/ugrep. . Improved README. . Updated README. . Updated README. . Updated README. . Updated README. . Released 2.2.1 - improved query UI and fuzzy matching.
2.2.005 Jun 2020 16:56 major feature: