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,7 +16,7 @@ main() {
16 16
         dissect "$url"
17 17
     else
18 18
         i=0
19
-        while read url;
19
+        while read -r url;
20 20
         do
21 21
             if [[ -z "$url" ]]; then exit 0; fi
22 22
             i=`expr $i + 1`