diff options
author | Ben Boeckel <MathStuf@gmail.com> | 2011-03-10 20:48:54 -0500 |
---|---|---|
committer | Ben Boeckel <MathStuf@gmail.com> | 2011-03-10 22:32:30 -0500 |
commit | 03e2f59ec0959ba4dec30a903ac060d74e5fdac5 (patch) | |
tree | f3bec45fd98ac450f0988a8ef79cc26bde9213fd /examples/data/scripts/download.sh | |
parent | 6cb7be2b071f5e540c33ecc5e21ab22c81434834 (diff) |
Add padding inside of braces
Diffstat (limited to 'examples/data/scripts/download.sh')
-rwxr-xr-x | examples/data/scripts/download.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/data/scripts/download.sh b/examples/data/scripts/download.sh index 6bcd9d1..7753bd6 100755 --- a/examples/data/scripts/download.sh +++ b/examples/data/scripts/download.sh @@ -11,7 +11,7 @@ # the URL that is being downloaded uri="$1" -safe_uri="$(echo "$uri" | sed -e 's/\W/-/g')" +safe_uri="$( echo "$uri" | sed -e 's/\W/-/g' )" # a filename suggested by the server or based on the URL suggested_filename="${2:-$safe_uri}" |