mcom: ensure no empty header lines are generated in mrep

pull/117/head
Leah Neukirchen 6 years ago
parent 35c11688eb
commit f83a6fea9a

@ -277,7 +277,7 @@ fi
printf 'Cc: %s\n' \ printf 'Cc: %s\n' \
"$(mhdr -d -A -h to:cc: "$1" |notmine |commajoin)" "$(mhdr -d -A -h to:cc: "$1" |notmine |commajoin)"
printf 'Bcc: \n' printf 'Bcc: \n'
printf '%s\n' "$hdrs" | awk '{ print }' printf '%s\n' "$hdrs" | awk '/./ { print }'
fi fi
printf 'Subject: Re: %s\n' "$(COLUMNS=10000 mscan -f '%S' "$1")" printf 'Subject: Re: %s\n' "$(COLUMNS=10000 mscan -f '%S' "$1")"
from=$(mhdr -h local-mailbox "$MBLAZE/profile") from=$(mhdr -h local-mailbox "$MBLAZE/profile")

Loading…
Cancel
Save