sfeed_sendmail

sfeed to sendmail command
git clone git://r-36.net/sfeed_sendmail
Log | Files | Refs | README | LICENSE

commit 70fdf6f6f7ca681e59b50921e4ce525a676f016d
parent bb0ad95fd8e3245e88a9ddfe0f1438034713fa4f
Author: Christoph Lohmann <20h@r-36.net>
Date:   Sun,  7 Sep 2025 06:00:35 +0200

Fix title printing.

Diffstat:
Msfeed_sendmail | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sfeed_sendmail b/sfeed_sendmail @@ -56,7 +56,7 @@ do printf "From: %s\r\n" "${fromaddr}" printf "To: %s\r\n" "${toaddr}" printf "Date: %s\r\n" "${timestamp}" - if [ -z "${title}" ]; + if [ -n "${title}" ]; then printf "Subject: %s\r\n" "$(rputil -e "${title}" 2>/dev/null)" fi