Browse Source

Don't interpret escape sequences in Bash `read`

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

+ 1
- 1
bin/dissect_url View File

16
         dissect "$url"
16
         dissect "$url"
17
     else
17
     else
18
         i=0
18
         i=0
19
-        while read 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=`expr $i + 1`