projects
/
muttjump
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
56609b6
)
slightly better mairix quoting
author
Johannes Weißl
<jargon@molb.org>
Sun, 5 Dec 2010 21:34:49 +0000
(22:34 +0100)
committer
Johannes Weißl
<jargon@molb.org>
Sun, 5 Dec 2010 21:34:49 +0000
(22:34 +0100)
muttjump
patch
|
blob
|
history
diff --git
a/muttjump
b/muttjump
index fc8f3d4692e5f512df5343aa1de850e4204a4ee5..a950edb3980b9b9d554a666cf7abafc891d489f4 100755
(executable)
--- a/
muttjump
+++ b/
muttjump
@@
-153,9
+153,9
@@
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.
# 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' \
- -e 's/
.\{31\}/&=,/g' -e 's/^\(=,\)\+//g' -e 's/$/=/
' \
- -e 's/\(=,\|=\)\+$/=/g')
+ msgid_mairix=$(echo "$msgid_clean" | sed -e 's/
.\{31\}/&
=,/g' \
+ -e 's/
[~,/=^]\+/=,/g' -e 's/\(=,\)\+/=,/g
' \
+ -e 's/
^\(=,\)\+//g' -e 's/$/=/' -e 's/
\(=,\|=\)\+$/=/g')
orig_msgfiles=$($MAIRIX -r "m:$msgid_mairix")
;;
mu)
orig_msgfiles=$($MAIRIX -r "m:$msgid_mairix")
;;
mu)
Benjamin Mako Hill
||
Want to submit a patch?