From 08a9db0554c3e5b37e7668be3d0ae3839f0ce901 Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Thu, 21 Mar 2019 15:02:51 -0400 Subject: [PATCH] style --- .scripts/tools/rotdir | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) 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 <