mblaze

Unix utilities to deal with Maildir - my mirror
git clone https://pi.duncano.de/git/mblaze.git
Log | Files | Refs | README | COPYING

commit dfe09a7c5e3a2273f963d53432ef1686b34547db
parent 6f99ef55a8bd75d99882078b50e3c7665106c514
Author: Sören Tempel <soeren+git@soeren-tempel.net>
Date:   Mon, 21 Aug 2017 21:34:14 +0200

mquote: make sed expression to strip signature work with busybox sed

Closes: #74 [via git-merge-pr]

Diffstat:
mquote | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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 >