]> err.no Git - moreutils/commit
curiouscat: New command to grep output of commands
authorTollef Fog Heen <tollef.fog.heen@collabora.co.uk>
Mon, 12 Jul 2010 08:59:53 +0000 (10:59 +0200)
committerTollef Fog Heen <tfheen@err.no>
Thu, 31 Jan 2013 17:01:44 +0000 (18:01 +0100)
commit6012e3c79431d509fc19ce89049e3b6d3e72226f
tree046836ad05e0d545ac6e01f9d2526aad108c1ad0
parentd87032d88689177d6d1bae551fe21527d7df93f6
curiouscat: New command to grep output of commands

curiouscat is used to filter the output of a given command.  If it matches,
the full standard out and standard error are printed.

This is useful if you have scripts run from cron that intermittently
print out "No such file or directory" because the directory structure
was changed underneath their feet, but you want to capture any other
errors.

If you pass -v, it will print stdout/stderr if there are lines that do
not match the pattern(s).
curiouscat [new file with mode: 0755]