From 870af1457c0ce75da37b3607ad6191d8580d33ef Mon Sep 17 00:00:00 2001 From: =?utf8?q?Johannes=20Wei=C3=9Fl?= Date: Mon, 29 Nov 2010 12:32:08 +0100 Subject: [PATCH] tweak Message-ID regexp --- muttjump | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/muttjump b/muttjump index c6453eb..8ff2625 100755 --- 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" -- 2.39.5