projects
/
muttjump
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ff8f13
)
tweak Message-ID regexp
author
Johannes Weißl
<jargon@molb.org>
Mon, 29 Nov 2010 11:32:08 +0000
(12:32 +0100)
committer
Johannes Weißl
<jargon@molb.org>
Mon, 29 Nov 2010 11:32:08 +0000
(12:32 +0100)
muttjump
patch
|
blob
|
history
diff --git
a/muttjump
b/muttjump
index c6453ebdfa395a1cefd7c0ae8390219445a6cadd..8ff2625d3a63462ca455c282a68077d9e5d10341 100755
(executable)
--- a/
muttjump
+++ b/
muttjump
@@
-89,7
+89,7
@@
if type -p $FORMAIL >/dev/null ; then
elif type -p $REFORMAIL >/dev/null ; then
msgid=$($REFORMAIL -c -x Message-ID: | head -n1)
else
- msgid=$(sed -n 's/^Message-ID:
\(.*\)/\1/Ip' | head -n1)
+ msgid=$(sed -n 's/^Message-ID:
[ \t]*
\(.*\)/\1/Ip' | head -n1)
fi
if [ -z "$msgid" ] ; then
die "could not find Message-ID header in standard input"
Benjamin Mako Hill
||
Want to submit a patch?