From 21a8308eac20e2506938d4b85ad47fd058933e98 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 | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/mcom b/mcom index d60070e..fb48401 100755 --- a/mcom +++ b/mcom @@ -321,7 +321,10 @@ fi ) fi ;; *mbnc*) + old_ifs="$IFS" + IFS=$NL set -- $(mseq -- "$@") + IFS="$old_ifs" if [ "$#" -ne 1 ]; then printf 'mbnc: needs exactly one mail to bounce\n' 1>&2 exit 1 @@ -344,7 +347,10 @@ fi ) ;; *mrep*) + old_ifs="$IFS" + IFS=$NL set -- $(mseq -- "$@") + IFS="$old_ifs" if [ "$#" -ne 1 ]; then printf 'mrep: needs exactly one mail to reply to\n' 1>&2 exit 1