about summary refs log tree commit diff
path: root/mcom
diff options
context:
space:
mode:
authorLeah Neukirchen <leah@vuxu.org>2022-12-18 21:08:28 +0100
committerLeah Neukirchen <leah@vuxu.org>2022-12-18 21:08:28 +0100
commitcccf01cb9aa45769e2e9d41c1e8e98a6502a98e0 (patch)
tree8d1f6cfce7402fcd60db9016aafe6a0f46664523 /mcom
parent2365f48f06a05e8c9ffbb2430ee994c0b43ea82a (diff)
downloadmblaze-cccf01cb9aa45769e2e9d41c1e8e98a6502a98e0.tar.gz
mblaze-cccf01cb9aa45769e2e9d41c1e8e98a6502a98e0.tar.xz
mblaze-cccf01cb9aa45769e2e9d41c1e8e98a6502a98e0.zip
mrep/mbnc: use mseq -r as leading whitespace is now significant.
Reported by lhynes.
Diffstat (limited to 'mcom')
-rwxr-xr-xmcom6
1 files changed, 3 insertions, 3 deletions
diff --git a/mcom b/mcom
index fb48401..397cb5f 100755
--- a/mcom
+++ b/mcom
@@ -323,7 +323,7 @@ fi
 	*mbnc*)
 		old_ifs="$IFS"
 		IFS=$NL
-		set -- $(mseq -- "$@")
+		set -- $(mseq -r -- "$@")
 		IFS="$old_ifs"
 		if [ "$#" -ne 1 ]; then
 			printf 'mbnc: needs exactly one mail to bounce\n' 1>&2
@@ -343,13 +343,13 @@ fi
 		printf 'Resent-Date: %s\n' "$(mdate)"
 		(
 			IFS=$NL
-			cat $(mseq -- "$@")
+			cat $(mseq -r -- "$@")
 		)
 		;;
 	*mrep*)
 		old_ifs="$IFS"
 		IFS=$NL
-		set -- $(mseq -- "$@")
+		set -- $(mseq -r -- "$@")
 		IFS="$old_ifs"
 		if [ "$#" -ne 1 ]; then
 			printf 'mrep: needs exactly one mail to reply to\n' 1>&2