drop unneeded *

This commit is contained in:
Dylan Araps 2020-08-04 19:55:09 +03:00
parent c9f3bd09c2
commit ef353e6b6d
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E
1 changed files with 1 additions and 1 deletions

2
shfm
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 ;;