From c7d314bf0d5cbd23c665b1ad9f11fda561822647 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=2E=20Nicol=C3=A1s=20Savinelli?= Date: Mon, 13 Jul 2020 17:49:45 -0300 Subject: [PATCH] rephrased a sentence --- lb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lb b/lb index 742e09c..88605fd 100755 --- a/lb +++ b/lb @@ -30,7 +30,7 @@ listandReturn() { printf "Listing contents of %s\\n" "$1" case "$(ls "$1" | wc -l)" in 0) echo "There's nothing to $2." && exit 1 ;; - 1) number=1 && printf "There's only one blog entry to %s.\\nDefaulting selection to %s\\n" "$2" "$(ls -rc "$1" | awk -F '/' '{print $NF}')" ;; + 1) number=1 && printf "There's only one entry to %s.\\nDefaulting selection to %s\\n" "$2" "$(ls -rc "$1" | awk -F '/' '{print $NF}')" ;; *) ls -rc "$1" | awk -F '/' '{print $NF}' | nl read -erp "Pick an entry by number to $2, or press Ctrl-C to cancel. " number ;; esac