diff s4-blog.sh @ 168:1dea78110c79

remove newline in to:
author HIROSE Yuuji <yuuji@gentei.org>
date Fri, 29 Jan 2016 11:14:54 +0859
parents fdc8008c236c
children 45d6954af516
line wrap: on
line diff
--- a/s4-blog.sh	Fri Jan 29 11:01:28 2016 +0859
+++ b/s4-blog.sh	Fri Jan 29 11:14:54 2016 +0859
@@ -35,7 +35,7 @@
     *)		emails=`collectemail $blogowner` ;;
   esac
   err notify: user=$user Admins=`getgroupadmins $blogowner` Mode=$mode Emails="[$emails]"
-  SMAIL_TO="`echo "$blogowner" | nkf -jM` readers <$admin>" \
+  SMAIL_TO="`echo "$blogowner" | nkf -jM | tr -d '\n'` readers <$admin>" \
 	  smail "$emails" "${action}通知 $urlbase"<<EOF
 [$blogtitle]板に${action}がありました。
 場所: $blogurl

yatex.org