Browse Source

Use cleaner integer bump syntax

Alois Mahdal 6 years ago
parent
commit
70486bd21e
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      bin/dissect_url

+ 1
- 1
bin/dissect_url View File

19
         while read -r url;
19
         while read -r url;
20
         do
20
         do
21
             if [[ -z "$url" ]]; then exit 0; fi
21
             if [[ -z "$url" ]]; then exit 0; fi
22
-            i=`expr $i + 1`
22
+            ((i++))
23
             printf '=== url %02d =============================================\n' $i
23
             printf '=== url %02d =============================================\n' $i
24
             dissect "$url"
24
             dissect "$url"
25
         done
25
         done