about summary refs log tree commit diff
path: root/mcom
diff options
context:
space:
mode:
authorLeah Neukirchen <leah@vuxu.org>2018-01-06 22:53:23 +0100
committerLeah Neukirchen <leah@vuxu.org>2018-01-06 22:53:23 +0100
commit6f3fa0d78b8044b397c731da023102c4dd2dad75 (patch)
tree920b7fd98959b2c0436faf3b50b37a638ca5b1b4 /mcom
parent88a87a361a5eb8675fbe8f9628c9b230c40dba3e (diff)
downloadmblaze-6f3fa0d78b8044b397c731da023102c4dd2dad75.tar.gz
mblaze-6f3fa0d78b8044b397c731da023102c4dd2dad75.tar.xz
mblaze-6f3fa0d78b8044b397c731da023102c4dd2dad75.zip
mcom: avoid xargs
Diffstat (limited to 'mcom')
-rwxr-xr-xmcom6
1 files changed, 5 insertions, 1 deletions
diff --git a/mcom b/mcom
index 0603cee..88100d4 100755
--- a/mcom
+++ b/mcom
@@ -149,7 +149,11 @@ fi
 		[ "$from" ] && printf 'Resent-From: %s\n' "$from"
 		msgid | sed 's/^/Resent-/'
 		printf 'Resent-Date: %s\n' "$(mdate)"
-		mseq "${@:-.}" | xargs -d'\n' cat
+		(
+			IFS='
+'
+			cat $(mseq "${@:-.}")
+		)
 		;;
 	*mrep*)
 		[ "$#" -eq 0 ] && set -- .