{ "name": "moreutils", "version": "0.70", "summary": "moreutils: sponge, ts, chronic, pee, ifne, vipe, vidir, combine, errno and more small Unix tools", "category": "tool", "license": "GPL-2.0-or-later", "homepage": "https://joeyh.name/code/moreutils/", "source": { "url": "https://deb.debian.org/debian/pool/main/m/moreutils/moreutils_0.70.orig.tar.xz", "sha256": "a844c5e3360a73d12c0a5624750ecc1969d64afea2e84925328f137576e2eb55" }, "watch": {"kind": "index", "url": "https://deb.debian.org/debian/pool/main/m/moreutils/", "regex": "moreutils_([0-9]+\\.[0-9]+)\\.orig\\.tar\\.xz"}, "deps": [ "perl", "perl-ipc-run" ], "env_packages": [ "xsltproc", "libxml2-utils", "docbook-xsl", "docbook-xml" ], "static": false, "nss": false, "check": "t=$(mktemp -d) && seq 5 -1 1 > \"$t/n\" && sort \"$t/n\" | bin/sponge \"$t/n\" && [ \"$(tr '\\n' ' ' < \"$t/n\")\" = '1 2 3 4 5 ' ] && printf 'x\\n' | bin/ts '[%Y]' | has -E -x '\\[[0-9]{4}\\] x' && [ -z \"$(bin/chronic true)\" ] && { bin/chronic sh -c 'echo bvs-chronic; exit 3' > \"$t/c\"; [ $? = 3 ]; } && has -x bvs-chronic < \"$t/c\" && [ \"$(echo a | bin/pee 'sed s/a/b/' 'sed s/a/c/' | tr '\\n' ' ')\" = 'b c ' ] && [ -z \"$(printf '' | bin/ifne echo no)\" ] && echo x | bin/ifne echo yes | has -x yes && ! bin/mispipe false true && printf 'gr\\303\\274n\\n' > \"$t/u\" && bin/isutf8 \"$t/u\" && printf '\\374\\n' > \"$t/l\" && ! bin/isutf8 -q \"$t/l\" && bin/errno ENOENT | has '^ENOENT 2 ' && printf 'a\\nb\\nc\\n' > \"$t/x\" && printf 'b\\nc\\nd\\n' > \"$t/y\" && [ \"$(bin/combine \"$t/x\" and \"$t/y\" | tr '\\n' ' ')\" = 'b c ' ] && printf 'bvs-zrun\\n' | gzip > \"$t/z.gz\" && bin/zrun cat \"$t/z.gz\" | has -x bvs-zrun && echo 'moreutils: sponge, ts, chronic, pee, ifne, mispipe, isutf8, errno, combine and zrun at work'" }