mblaze

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

commit c1252561324ec662525c874106d07f2063ef4e25
parent 1eef4b729a2e12ea1fa34d23ce5d03cf7689ffa7
Author: Leah Neukirchen <leah@vuxu.org>
Date:   Mon, 19 Jun 2017 17:17:20 +0200

mcom: integrate msign and mencrypt

Diffstat:
mcom | 20+++++++++++++++++++-
1 file changed, 19 insertions(+), 1 deletion(-)

diff --git a/mcom b/mcom @@ -251,8 +251,26 @@ while :; do fi c= ;; + sign) + msign $draft >$draftmime + mshow -t $draftmime + c= + ;; + encrypt) + mencrypt $draft >$draftmime + mshow -t $draftmime + c= + ;; + show) + if [ -e $draftmime ]; then + mshow "$draftmime" + else + mshow "$draft" + fi + c= + ;; *) - printf 'What now? ([s]end, [c]ancel, [d]elete, [e]dit, [m]ime) ' + printf 'What now? ([s]end, [c]ancel, [d]elete, [e]dit, [m]ime, sign, encrypt) ' read -r c ;; esac