mquote: use printf

pull/22/head
Leah Neukirchen 7 years ago
parent f771d062a5
commit 6d492539d6

@ -5,7 +5,7 @@
: ${from:=$(mhdr -d -h from "$1")}
: ${from:=Someone}
echo "$from wrote:"
printf '%s wrote:\n' "$from"
mshow -R "$1" |
sed -n '/^-- $/!p;//q' | # strip signature
sed -e :a -e '/^\n*$/{$d;N;ba' -e '}' | # strip empty lines

Loading…
Cancel
Save