pipe the file into 'wc' so that it doesn't print filename

This commit is contained in:
Dylan 2016-01-27 23:30:09 +11:00
parent 467e820e67
commit 5723f53250

3
fetch
View file

@ -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"