scripts

My personal collection of scripts
git clone git://src.gearsix.net/scripts
Log | Files | Refs | Atom | README | LICENSE

commit 1a9baa3ed2f84e9f1d75e7383dad26a3871a6e93
parent a0a5666a3e96cf7a06dd4f7c1f11316fc471bdc2
Author: gearsix <gearsix@tuta.io>
Date:   Tue, 27 Jul 2021 13:26:43 +0100

shh -> shush

Diffstat:
Dsrc/shh.sh | 16----------------
Asrc/shush.sh | 16++++++++++++++++
2 files changed, 16 insertions(+), 16 deletions(-)

diff --git a/src/shh.sh b/src/shh.sh @@ -1,16 +0,0 @@ -#!/bin/sh -# shh = quiet for commands that don't include it -# description: run a terminal command ($@) and send stdout to /dev/null -# e.g.$ shh chromium & - -if [ "$1" == "-h" ] || [ "$1" == "--help" ]; then - echo "Usage: quiet ARGS" - echo "" - echo "run all commands in ARGS but send stdout to /dev/null, for when a tool is too noisy" - exit -fi - -for bin in $@; do - $bin &>/dev/null -done; - diff --git a/src/shush.sh b/src/shush.sh @@ -0,0 +1,16 @@ +#!/bin/sh +# shh = quiet for commands that don't include it +# description: run a terminal command ($@) and send stdout to /dev/null +# e.g.$ shush chromium & + +if [ "$1" == "-h" ] || [ "$1" == "--help" ]; then + echo "Usage: shush ARGS" + echo "" + echo "run all commands in ARGS but send stdout to /dev/null, for when a tool is too noisy" + exit +fi + +for bin in $@; do + $bin &>/dev/null +done; +