summary refs log tree commit diff
diff options
context:
space:
mode:
-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 -- .