{ "name": "ugrep", "version": "7.8.4", "summary": "ugrep: a fast grep with Perl regular expressions, searches inside compressed files and archives, an index", "category": "tool", "license": "BSD-3-Clause", "homepage": "https://ugrep.com/", "source": { "url": "https://deb.debian.org/debian/pool/main/u/ugrep/ugrep_7.8.4+dfsg.orig.tar.gz", "sha256": "69dfd0c9896fabf2d230ed65ebe9c02f3efc1ce74126ecbba5f64f2f55e1bf3c" }, "watch": {"kind": "index", "url": "https://deb.debian.org/debian/pool/main/u/ugrep/", "regex": "ugrep_([0-9]+(?:\\.[0-9]+)+)\\+dfsg\\.orig\\.tar\\.gz"}, "deps": [ "pcre2", "zlib", "bzip2", "xz", "lz4", "zstd", "brotli" ], "env_packages": [], "static": true, "nss": false, "check": "bin/ugrep --version | first && bin/ugrep --version | has 'pcre2' && bin/ugrep --version | has 'zstd' && t=$(mktemp -d) && mkdir \"$t/d\" && printf 'alpha 12\\nbeta 345\\ngamma\\n' > \"$t/d/a.txt\" && printf 'delta 6789\\n' | gzip > \"$t/d/b.txt.gz\" && printf 'epsilon 4242\\n' | bin/xz > \"$t/d/c.txt.xz\" && printf 'zeta 31337\\n' | bin/zstd -q > \"$t/d/e.txt.zst\" && [ \"$(bin/ugrep -c -P '^\\w+ \\d+$' \"$t/d/a.txt\")\" = 2 ] && bin/ugrep -rzP '\\d{4}' \"$t/d\" > \"$t/out\" && has 'delta 6789' < \"$t/out\" && has 'epsilon 4242' < \"$t/out\" && has 'zeta 31337' < \"$t/out\" && ! has alpha < \"$t/out\" && (cd \"$t/d\" && \"$PREFIX/bin/ugrep-indexer\" -q . && \"$PREFIX/bin/ug\" --index -rl gamma .) | has a.txt && echo 'ugrep: a PCRE2 count; matches inside .gz, .xz and .zst files; a search through its index'" }