From dfe09a7c5e3a2273f963d53432ef1686b34547db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Tempel?= Date: Mon, 21 Aug 2017 21:34:14 +0200 Subject: [PATCH 2/2] mquote: make sed expression to strip signature work with busybox sed Closes: #74 [via git-merge-pr] --- mquote | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mquote b/mquote index a64000d..fa8e4a4 100755 --- a/mquote +++ b/mquote @@ -7,6 +7,6 @@ printf '%s wrote:\n' "$from" mshow -R "$1" | - sed -n '/^-- $/!p;//q' | # strip signature + sed -n '/^-- $/,$!p' | # strip signature sed -e :a -e '/^\n*$/{$d;N;ba' -e '}' | # strip empty lines sed 's/^/> /' # prefix with > -- 2.14.1