Skip to content

Commit

Permalink
mquote: fall back to rendering when no plaint text reply was found
Browse files Browse the repository at this point in the history
  • Loading branch information
leahneukirchen committed Jan 9, 2018
1 parent e2c243b commit de30dce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mquote
Original file line number Diff line number Diff line change
Expand Up @@ -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 >

0 comments on commit de30dce

Please sign in to comment.