diff options
author | Leah Neukirchen <leah@vuxu.org> | 2018-01-09 17:02:02 +0100 |
---|---|---|
committer | Leah Neukirchen <leah@vuxu.org> | 2018-01-09 17:02:02 +0100 |
commit | de30dce63872a8208c11169cebf9c253d8db226e (patch) | |
tree | 45afaca6949b33176d809735cd8d1236f425e6a9 /mquote | |
parent | e2c243bc26fb7f98935a0c1e15463982c87d588f (diff) | |
download | mblaze-de30dce63872a8208c11169cebf9c253d8db226e.tar.gz mblaze-de30dce63872a8208c11169cebf9c253d8db226e.tar.xz mblaze-de30dce63872a8208c11169cebf9c253d8db226e.zip |
mquote: fall back to rendering when no plaint text reply was found
Diffstat (limited to 'mquote')
-rwxr-xr-x | mquote | 2 |
1 files changed, 1 insertions, 1 deletions
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 > |