From 5d703418aa569e86356fde617d171817023a3c9d Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Thu, 21 Feb 2019 14:14:54 +1300 Subject: [PATCH] fix handling special characters in filenames --- .mutt/bgrun | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5