Subject: CVS commit: pkgsrc/textproc/ugrep
From: Adam Ciarcinski
Date: 2025-01-28 13:19:21
Message id: 20250128121921.6F094FBE0@cvs.NetBSD.org

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)

Files:
RevisionActionfile
1.94modifypkgsrc/textproc/ugrep/Makefile
1.87modifypkgsrc/textproc/ugrep/distinfo