@@ -83,10 +83,10 @@ trim() {
local suff=""
while true;
do
- test $lines_read -ge $limit_l && break
+ test $lines_read -ge "$limit_l" && break
IFS= read -r line || break
(( lines_read++ ))
- test ${#line} -gt $limit_c && suff=…
+ test ${#line} -gt "$limit_c" && suff=…
line=${line:0:$limit_c}$suff
echo "$line"
done