# HG changeset patch # User HIROSE Yuuji # Date 1487424423 -32373 # Node ID d14f3a517fe5bdc3da83c6b9bc4cdbc49d68ee8f # Parent 0d5d62b53cc3be95917fd2777e04e9762df975ed Include spaces diff -r 0d5d62b53cc3 -r d14f3a517fe5 s4-blog.sh --- a/s4-blog.sh Thu Feb 16 14:10:42 2017 +0900 +++ b/s4-blog.sh Sat Feb 18 22:26:36 2017 +0859 @@ -63,7 +63,7 @@ if [ -z "$4" -a -n "$replymark" ]; then # If the action is new subscription($4="") and has ">#123" marks... ids=`echo "$replymark"|sed 's/[^#0-9]*#\([0-9]*\)[^#0-9]*/\1 /g'` - ids=`echo ${ids%%[!0-9,]*}|tr ' ' ','` + ids=`echo ${ids%%[!0-9, ]*}|tr ' ' ','` # -> 123,345,347 unames=`query "SELECT distinct author FROM article \ WHERE rowid in ($ids)\