From: Johannes Weißl Date: Mon, 6 Dec 2010 06:43:47 +0000 (+0100) Subject: slightly better mairix quoting (3) X-Git-Url: https://projects.mako.cc/source/muttjump/commitdiff_plain/06ff9e456f0959839236fe955e2efe0055a364e3?hp=-c slightly better mairix quoting (3) --- 06ff9e456f0959839236fe955e2efe0055a364e3 diff --git a/muttjump b/muttjump index 38e8a02..9cb34b1 100755 --- a/muttjump +++ b/muttjump @@ -154,7 +154,7 @@ case $MUTTJUMP_INDEXER in # workaround, split Message-ID in 31-character long AND-linked # substrings. msgid_mairix=$(echo "$msgid_clean" | sed -e 's/[~,/=^]\+/ /g' \ - -e 's/[^ ]\{31\}/& /g' -e 's/^ \+//g' -e 's/ \+$/=/g' \ + -e 's/[^ ]\{31\}/& /g' -e 's/^ \+//g' -e 's/ *$/=/g' \ -e 's/ /=,/g') orig_msgfiles=$($MAIRIX -r "m:$msgid_mairix") ;;