putwww: escape spaces
This commit is contained in:
parent
6778c34647
commit
b36c59c6c5
|
@ -26,5 +26,7 @@ $(print -l ${(q)putcmds})
|
|||
EOF
|
||||
|
||||
for file in "${@}"; do
|
||||
print '\e[1;95m→\e[0m' https://tastytea.de/files/${dir}"${file##*/}"
|
||||
local url=https://tastytea.de/files/"${dir}${file##*/}"
|
||||
url=${url// /%20}
|
||||
print '\e[1;95m→\e[0m' ${url}
|
||||
done
|
||||
|
|
Loading…
Reference in New Issue
Block a user