From de30dce63872a8208c11169cebf9c253d8db226e Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Tue, 9 Jan 2018 17:02:02 +0100 Subject: [PATCH] mquote: fall back to rendering when no plaint text reply was found --- mquote | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mquote b/mquote index fa8e4a4..31af66b 100755 --- a/mquote +++ b/mquote @@ -6,7 +6,7 @@ : ${from:=Someone} printf '%s wrote:\n' "$from" -mshow -R "$1" | +{ mshow -R "$1" || mshow -h '' -N "$1"; } | sed -n '/^-- $/,$!p' | # strip signature sed -e :a -e '/^\n*$/{$d;N;ba' -e '}' | # strip empty lines sed 's/^/> /' # prefix with >