Link [ pkgsrc | NetBSD | pkgsrc git mirror | PR fulltext-search | netbsd commit viewer ]


   
        usage: [branch:branch] [user:user] [path[@revision]] keyword [... [-excludekeyword [...]]] (e.g. branch:MAIN pkgtools/pkg)




switch to index mode

recent branches: MAIN (16m)  pkgsrc-2024Q1 (3d)  pkgsrc-2023Q4 (77d)  pkgsrc-2023Q2 (109d) 

2024-06-16 19:19:43 UTC Now

2022-01-20 20:16:08 UTC MAIN commitmail json YAML

ugrep: updated to 3.6.0

ugrep v3.6.0
New --replace option to replace pattern matches in the output with custom formatted text with % fields. 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 matchi
ng 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!

(adam)