X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=mutt_open;fp=mutt_open;h=375f771c218fafd1098c231b83c8e74e232c6a85;hb=ca1656457d09ec73b94210c018e2c825b80fe7d6;hp=8b4408444b52e5454a55cf2af0e890562e825885;hpb=0274716853a387ec70a6039e374d69a300ee1f79;p=bin.git diff --git a/mutt_open b/mutt_open index 8b44084..375f771 100755 --- a/mutt_open +++ b/mutt_open @@ -69,6 +69,9 @@ if ! [ -d "$maildir" ] ; then exit 2 fi +# escape message id containing + or *; not going to bother escaping . +msgid=$(echo -n "$msgid"|sed 's/\([\+\*]\)/\\\\\\\\\1/g') + # UGLY HACK: without sleep, push keys do not reach mutt, I _guess_ that there # might be some terminal-related issue here, since also waiting for an input # with "read" similarly "solves" the problem