From fc473c031a19e36ffe58744442ae9bfb06526720 Mon Sep 17 00:00:00 2001 From: Santiago Lo Coco Date: Sat, 29 Jan 2022 12:37:28 -0300 Subject: [PATCH] Fix typo --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index ebf56e7..2027b1a 100755 --- a/install.sh +++ b/install.sh @@ -367,7 +367,7 @@ calcWidth() { } calcHeight() { - newlines=$(echo -ne | grep -c $'\n') + newlines=$(echo -ne "$1" | grep -c $'\n') height=$(echo "${#1}" "$newlines" | awk '{ x = (($1 - $2 + ($2 * 60)) / 60) printf "%d", (x == int(x)) ? x : int(x) + 1