Suppress noise. - vtv-tools - virtual terminal video tools
HTML git clone git://bitreich.org/vtv-tools git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/vtv-tools
DIR Log
DIR Files
DIR Refs
DIR Tags
DIR README
DIR LICENSE
---
DIR commit 270447f8aa7f318640c5dc7df3c759912d3bc37b
DIR parent 93b6a4131f6fdd499b4bf219d21559e29b4aa839
HTML Author: Troels Henriksen <athas@sigkill.dk>
Date: Wed, 7 Aug 2024 22:16:53 +0200
Suppress noise.
Diffstat:
M bin/vtv-from-gif | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
DIR diff --git a/bin/vtv-from-gif b/bin/vtv-from-gif
@@ -7,12 +7,12 @@ if [ $# -ne 1 ]; then
exit 1
fi
-if ! which magick; then
+if ! which magick >/dev/null; then
echo "'magick' not found on PATH."
exit 1
fi
-if ! which vtv-from-ff; then
+if ! which vtv-from-ff >/dev/null; then
echo "'vtv-from-ff' not found on PATH."
exit 1
fi
@@ -24,7 +24,7 @@ tmp=$(mktemp -d vtv-from-gif-XXXXXX)
magick "$1" "$tmp/vtv.ff"
for ff in "$tmp"/*.ff; do
- vtv-from-ff ${ff}
+ vtv-from-ff ${ff} > /dev/null
done
cat "$tmp"/*.vtv