diff options
author | Leah Neukirchen <leah@vuxu.org> | 2018-01-06 22:53:23 +0100 |
---|---|---|
committer | Leah Neukirchen <leah@vuxu.org> | 2018-01-06 22:53:23 +0100 |
commit | 6f3fa0d78b8044b397c731da023102c4dd2dad75 (patch) | |
tree | 920b7fd98959b2c0436faf3b50b37a638ca5b1b4 /mcom | |
parent | 88a87a361a5eb8675fbe8f9628c9b230c40dba3e (diff) | |
download | mblaze-6f3fa0d78b8044b397c731da023102c4dd2dad75.tar.gz mblaze-6f3fa0d78b8044b397c731da023102c4dd2dad75.tar.xz mblaze-6f3fa0d78b8044b397c731da023102c4dd2dad75.zip |
mcom: avoid xargs
Diffstat (limited to 'mcom')
-rwxr-xr-x | mcom | 6 |
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 -- . |