s4
changeset 412:a765ed027dbd
Message for replymark should be the names of reply recipients
author | HIROSE Yuuji <yuuji@gentei.org> |
---|---|
date | Fri, 10 Feb 2017 20:39:20 +0859 |
parents | e30fe590a53e |
children | 933df1a150e0 |
files | s4-blog.sh |
diffstat | 1 files changed, 5 insertions(+), 1 deletions(-) [+] |
line diff
1.1 --- a/s4-blog.sh Fri Feb 10 12:22:09 2017 +0859 1.2 +++ b/s4-blog.sh Fri Feb 10 20:39:20 2017 +0859 1.3 @@ -70,7 +70,11 @@ 1.4 AND blogid=(SELECT id FROM blog WHERE rowid=$blogid);"` 1.5 if [ -n "$unames" ]; then 1.6 emails=$emails" `email4group \"$blogowner\" $unames`" 1.7 - action="あなたへの返信" 1.8 + for e in $unames; do 1.9 + g=`gecos $e` 1.10 + whom=$whom",${g:-$e}さん" 1.11 + done 1.12 + action="${whom}への返信" 1.13 fi 1.14 fi 1.15 test -z "$emails" && return