mblaze

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

commit 22e406514c70f881f132d0cc9bd04a4dbade3188
parent 07d3be7a8f49f7d009138c239df6e263e96d12e4
Author: Christian Neukirchen <chneukirchen@gmail.com>
Date:   Mon,  8 Aug 2016 16:11:17 +0200

mcom: simplify To:

Diffstat:
mcom | 8++------
1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/mcom b/mcom @@ -38,12 +38,8 @@ fi { case "$0" in *mcom*) - echo -n "To: $1" - [ "$#" -ge 1 ] && shift - for rcpt; do - echo -n ", $rcpt" - done - echo + echo -n "To: " + printf '%s\n' "$@" | commajoin echo "Cc: " echo "Bcc: " echo "Subject: "