From 86e36bedac92f051a285f01385f38446a71db9a6 Mon Sep 17 00:00:00 2001 From: Dominic Ricottone Date: Fri, 1 Nov 2019 13:22:48 -0400 Subject: [PATCH] Small fixes recommended by shellcheck --- ctdir | 2 +- whisper | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ctdir b/ctdir index 582b5a6..9b57c28 100755 --- a/ctdir +++ b/ctdir @@ -32,7 +32,7 @@ done LISTING=$(ls -1 "$@" 2>/dev/null | wc -l) if [ "$LISTING" -eq 0 ]; then - err_msg "No files as '${@}'" + err_msg "No files as '${*}'" else echo "$LISTING" fi diff --git a/whisper b/whisper index 03e4097..d1cc172 100755 --- a/whisper +++ b/whisper @@ -9,7 +9,7 @@ if [ $# -lt 1 ]; then TEXT="present day present time." else - TEXT="$@" + TEXT=$* fi espeak -v +whisper -s 8 -m "$TEXT" 2>/dev/null -- 2.45.2