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,7 +19,7 @@ main() {
19 19
         while read -r url;
20 20
         do
21 21
             if [[ -z "$url" ]]; then exit 0; fi
22
-            i=`expr $i + 1`
22
+            ((i++))
23 23
             printf '=== url %02d =============================================\n' $i
24 24
             dissect "$url"
25 25
         done