mcom: allow spaces in sequence for mbnc and mrep

Closes: #231 [via git-merge-pr]
pull/235/head
codesoap 1 year ago committed by Leah Neukirchen
parent 9d66764434
commit 8d543fdb21

@ -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

Loading…
Cancel
Save