diff --git a/fetch b/fetch index 3312e1cd..ca9d4da6 100755 --- a/fetch +++ b/fetch @@ -1204,8 +1204,7 @@ getshuffle () { getascii () { # Get length of longest line - length="$(wc -L "$ascii")" - length=${length/ *} + length="$(wc -L < "$ascii")" # Set the text padding padding="\e[$((length + gap))C"