projects
/
muttjump
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75e0e93
)
slightly better mairix escaping
author
Johannes Weißl
<jargon@molb.org>
Sun, 5 Dec 2010 04:22:19 +0000
(
05:22
+0100)
committer
Johannes Weißl
<jargon@molb.org>
Sun, 5 Dec 2010 04:22:19 +0000
(
05:22
+0100)
muttjump
patch
|
blob
|
history
diff --git
a/muttjump
b/muttjump
index cd1b0062099eae5bcf685e42f7980ecc772f8415..82b9ea3dc582ed3a49142ec14c5273d00fcaaf06 100755
(executable)
--- a/
muttjump
+++ b/
muttjump
@@
-149,7
+149,7
@@
case $MUTTJUMP_INDEXER in
# mairix can't quote special characters (~,/=^) in search words. As a
# workaround, split Message-ID in 31-character long AND-linked
# substrings.
- msgid_mairix=$(echo "$msgid_clean" | sed -e 's/[~,/=^]/=,/g' \
+ msgid_mairix=$(echo "$msgid_clean" | sed -e 's/[~,/=^]
\+
/=,/g' \
-e 's/.\{31\}/&=,/g' -e 's/^\(=,\)\+//g' -e 's/$/=/' \
-e 's/\(=,\|=\)\+$/=/g')
orig_msgfiles=$($MAIRIX -r "m:$msgid_mairix")
Benjamin Mako Hill
||
Want to submit a patch?