drop unneeded *

This commit is contained in:
Dylan Araps
2020-08-04 19:55:09 +03:00
parent c9f3bd09c2
commit ef353e6b6d
+1 -1
View File
@@ -101,7 +101,7 @@ file_escape() {
tmp=$1 safe=
# loop over string char by char
while c=${tmp%"${tmp#?}"*}; do
while c=${tmp%"${tmp#?}"}; do
case $c in
[[:print:]]) safe=$safe$c ;;
'') return ;;