about summary refs log tree commit diff
path: root/mcom
diff options
context:
space:
mode:
authorLeah Neukirchen <leah@vuxu.org>2018-03-02 20:43:57 +0100
committerLeah Neukirchen <leah@vuxu.org>2018-03-02 20:43:57 +0100
commitf83a6fea9aa1c9ccd0fd2fec8bd8a24b27e396bc (patch)
treee893de2256647a6b6e70ac1ea088f6883aac2f2b /mcom
parent35c11688ebf6607d45a7bd643ba2a4b03e3f8945 (diff)
downloadmblaze-f83a6fea9aa1c9ccd0fd2fec8bd8a24b27e396bc.tar.gz
mblaze-f83a6fea9aa1c9ccd0fd2fec8bd8a24b27e396bc.tar.xz
mblaze-f83a6fea9aa1c9ccd0fd2fec8bd8a24b27e396bc.zip
mcom: ensure no empty header lines are generated in mrep
Diffstat (limited to 'mcom')
-rwxr-xr-xmcom2
1 files changed, 1 insertions, 1 deletions
diff --git a/mcom b/mcom
index 961cbd7..eb965b3 100755
--- a/mcom
+++ b/mcom
@@ -277,7 +277,7 @@ fi
 			printf 'Cc: %s\n' \
 			       "$(mhdr -d -A -h to:cc: "$1" |notmine |commajoin)"
 			printf 'Bcc: \n'
-			printf '%s\n' "$hdrs" | awk '{ print }'
+			printf '%s\n' "$hdrs" | awk '/./ { print }'
 		fi
 		printf 'Subject: Re: %s\n' "$(COLUMNS=10000 mscan -f '%S' "$1")"
 		from=$(mhdr -h local-mailbox "$MBLAZE/profile")