From 29e943dacb01b3c76573373482b448a484387475 Mon Sep 17 00:00:00 2001 From: codesoap Date: Wed, 9 Nov 2022 22:55:18 +0100 Subject: [PATCH] mcom: allow spaces in sequence for mbnc and mrep --- mcom | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/mcom b/mcom index d60070e..39171cb 100755 --- a/mcom +++ b/mcom @@ -321,7 +321,10 @@ fi ) fi ;; *mbnc*) - set -- $(mseq -- "$@") + ( + IFS=$NL + set -- $(mseq -- "$@") + ) if [ "$#" -ne 1 ]; then printf 'mbnc: needs exactly one mail to bounce\n' 1>&2 exit 1 @@ -344,7 +347,10 @@ fi ) ;; *mrep*) - set -- $(mseq -- "$@") + ( + IFS=$NL + set -- $(mseq -- "$@") + ) if [ "$#" -ne 1 ]; then printf 'mrep: needs exactly one mail to reply to\n' 1>&2 exit 1