From: martin f. krafft Date: Thu, 21 Feb 2019 01:14:54 +0000 (+1300) Subject: fix handling special characters in filenames X-Git-Url: https://git.madduck.net/etc/mutt.git/commitdiff_plain/5d703418aa569e86356fde617d171817023a3c9d fix handling special characters in filenames --- diff --git a/.mutt/bgrun b/.mutt/bgrun index 4dcd3e2..5e30cf0 100755 --- a/.mutt/bgrun +++ b/.mutt/bgrun @@ -46,7 +46,7 @@ get_file() { cat > "$t" echo "$t" else - t="$(echo ${1##*/} | sed -re 's![^[:alnum:],.:@%^+=_-]!_!gi')" + t="$(echo ${1##*/} | sed -re 's![^[:alnum:],.@%^+=_-]!_!gi')" cp "$1" "$t" echo "$t" fi