diff --git a/.scripts/tools/rotdir b/.scripts/tools/rotdir index 2fabeda..c04666d 100755 --- a/.scripts/tools/rotdir +++ b/.scripts/tools/rotdir @@ -1,16 +1,8 @@ #!/bin/sh -if [ -z "$1" ]; then - echo usage: rotdir regex 2>&1 - exit 1; -fi - +[ -z "$1" ] && echo "usage: rotdir regex 2>&1" && exit 1 ed -s <