Mercurial > hgrepos > hgweb.cgi > s4
diff s4-funcs.sh @ 411:e30fe590a53e
Allow replymark in other than the first line.
author | HIROSE Yuuji <yuuji@gentei.org> |
---|---|
date | Fri, 10 Feb 2017 12:22:09 +0859 |
parents | 0a5fdb619325 |
children | a183d6e0ed5e |
line wrap: on
line diff
--- a/s4-funcs.sh Fri Feb 10 11:41:44 2017 +0859 +++ b/s4-funcs.sh Fri Feb 10 12:22:09 2017 +0859 @@ -1026,7 +1026,7 @@ # $SMAIL_TO <- Recipient value of To: header # $MAIL_FROM <- From: header value from=`echo "${MAIL_FROM:-$admin}"|nkf -jM|tr -d '\n'` - rcpt=`echo $1` # strip newlines + rcpt=`echo $1|tr ' ' '\n'|sort -u|tr '\n' ' '` # uniq and strip newlines subj=`echo $2|nkf -jM|tr -d '\n'` (_m4 -D_RCPT_="${SMAIL_TO:-$rcpt}" -D_SUBJ_="\`$subj'" -D_FROM_="$from" $msgdir/mail-header.m4 cat $3 | nkf -jd ) | sendmail -f $admin $rcpt