Alois Mahdal 9 лет назад
Родитель
Сommit
35e104843e
1 измененных файлов: 2 добавлений и 2 удалений
  1. 2
    2
      bin/notifirc

+ 2
- 2
bin/notifirc Просмотреть файл

83
     local suff=""
83
     local suff=""
84
     while true;
84
     while true;
85
     do
85
     do
86
-        test $lines_read -ge $limit_l && break
86
+        test $lines_read -ge "$limit_l" && break
87
         IFS= read -r line || break
87
         IFS= read -r line || break
88
         (( lines_read++ ))
88
         (( lines_read++ ))
89
-        test ${#line} -gt $limit_c && suff=…
89
+        test ${#line} -gt "$limit_c" && suff=…
90
         line=${line:0:$limit_c}$suff
90
         line=${line:0:$limit_c}$suff
91
         echo "$line"
91
         echo "$line"
92
     done
92
     done