./textproc/ugrep, Fast grep with many enhancements including Unicode support

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 7.2.1, Package name: ugrep-7.2.1, Maintainer: pkgsrc-users

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/lz4), documents, fuzzy search, and more.
A faster, user-friendly replacement for GNU/BSD grep.

It also supports Unicode, as well as having regular expressions
patterns helpful for searching many types of source code files.


Required to run:
[devel/boost-libs] [archivers/lz4] [devel/pcre2] [archivers/zstd]

Required to build:
[devel/boost-headers]

Package options: boost-libs, cpu-optimization

Master sites:

Filesize: 6955.463 KB

Version history: (Expand)


CVS history: (Expand)


   2025-01-28 13:19:21 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
ugrep: updated to 7.2.1

ugrep v7.2.1

includes fix 463 for v7.2 regression bug in non-SIMD ugrep builds

Notes on unit and regression testing methodology and benchmarking:

to verify non-SIMD builds I ran 60,000 randomized test patterns each against \ 
100MB text to search and compare to expected matches, this test fully covers the \ 
code of the scalar-optimized (non-SIMD) search algorithms (this test was not \ 
done for v7.2, which is my fault for thinking the latest change would not impact \ 
non-SIMD results, but it did)
to verify SIMD-optimized builds (SSE2/AVX2/AVX512BW and Neon/AArch64) I ran \ 
again 40,000 randomized test patterns each against 100MB text to search and \ 
compare to expected matches, this test fully covers the code of the \ 
SIMD-optimized search algorithms
in addition, the RE/flex high-performance regex project also includes many regex \ 
pattern test cases
this release does not affect the search speeds of ugrep v7 i.e. the posted \ 
benchmarks for v7 are unchanged

ugrep v7.2

new options --no-files-with-matches and --no-count
update options -i and -j when used together: -i unconditional case-insensitive \ 
matching should override -j smart-case conditional case-insensitive matching
new adoc type added to option -t or --file-type
new full support for GNU/BSD grep option -z (--null-data), such that -z is \ 
reassigned from --decompress to --null-data when ugrep is specifically copied or \ 
symlinked with the target name grep, egrep, fgrep, zgrep, zegrep, or zfgrep \ 
executable file binaries to run as replacements of GNU/BSD grep
fix older MacOS build from source compile-time error QOS_CLASS_USER_INITIATED \ 
not declared
fix a bug in ugrep v7 when matching certain case-insensitive patterns at the \ 
very end of a file at EOF when an EOL before EOF is missing (this is not a \ 
problem in versions prior to v7)
   2025-01-12 15:41:15 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
ugrep: updated to 7.1.3

7.1.3
fix a problem with option -i (--ignore-case) that in rare and specific \ 
circumstances may not match all of the specified alternate sub-patterns
   2024-12-31 10:31:46 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
ugrep: updated to 7.1.2

7.1.2
support the latest bzip3 library upgrades
permit su search of "unreadable" files
do not exit with code 2 when some files can't be decompressed
   2024-12-29 16:10:02 by Adam Ciarcinski | Files touched by this commit (235)
Log message:
revbump after updating boost
   2024-11-30 07:44:46 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
ugrep: updated to 7.1.1

ugrep v7.1.1

fix negative character classes when option -i or --ignore-case is used and make \ 
ugrep closely emulate GNU grep's character class behavior when options -i and -P \ 
are used
appease -Woverload-virtual and -Wshadow warnings when building the RE/flex \ 
library, the TUI, and indexer (some warnings remain in ugrep.cpp)
   2024-11-24 10:33:14 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
ugrep: updated to 7.1.0

ugrep v7.1

add syntax highlighting to the TUI glob editor
add support for option --filter to Windows ug.exe and ugrep.exe
make the ug+ and ugrep+ scripts work if no helper is available
   2024-11-16 17:48:04 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
ugrep: updated to 7.0.4

ugrep v7.0.4

fix Windows ugrep.exe TUI issue 438 after TUI usability improvements 435, 436 \ 
and 437, which caused some users to struggle with TUI usability issues due to \ 
Windows API peculiarities with different Windows OS and different terminal apps
   2024-11-14 19:14:30 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
ugrep: updated to 7.0.3

ugrep v7.0.3

make Windows ugrep.exe TUI cursor keys behave with ConEmu
fix Windows ugrep.exe TUI CTRL-Y file viewing for non-ASCII filenames
minor usability improvements suggested by ugrep users. Thank you for your feedback!

ugrep v7.0.2

Fix ugrep v7 regression bug: an issue with the regex ^ anchor due to a \ 
misaligned begin-of-line position in the buffer after the buffer shifts on large \ 
input files. As a result, the -v option did not always work properly on large \ 
input files when searching with regex ^ anchors. Reverted to the old logic. \ 
Included a minor change to handle hex context lines

ugrep v7.0

rewritten SIMD acceleration logic and the search algorithm selection decision \ 
logic to speed up pattern matching (the actual speedup depends on the type of \ 
regex patterns specified)
improved regex anchors and word boundary matching speed and support
fix option --xml pathnames with special characters, which are unlikely to occur \ 
in pathnames, but aren't strictly forbidden
updated option --hexdump with -ABC context hex lines before and after a match
the TUI now also uses the VISUAL environment variable if PAGER is not set