From f16285763355a3b3c13b964bdeeeac2bfceffdf3 Mon Sep 17 00:00:00 2001 From: Nick Chambers Date: Tue, 11 Oct 2022 02:58:49 -0500 Subject: [PATCH] Remove extraneous spaces --- bash/tickertape | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash/tickertape b/bash/tickertape index 737cb62..8768337 100755 --- a/bash/tickertape +++ b/bash/tickertape @@ -4,7 +4,7 @@ cols=$(tput cols) line="" while (( ${#line} < cols + ${#1} )); do if (( ${#line} < ${#1} )); then - line=${1:$(( ${#1} - ${#line} - 1)):1}$line + line=${1:$((${#1}-${#line}-1)):1}$line else line=" $line" fi