changeset 157:3b2963de55ce

#bottom link should appear whoever the author is
author HIROSE Yuuji <yuuji@gentei.org>
date Wed, 06 Jan 2016 23:10:52 +0859
parents d46bce9072cd
children cad3915d4c74
files s4-blog.sh
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/s4-blog.sh	Wed Jan 06 23:07:05 2016 +0859
+++ b/s4-blog.sh	Wed Jan 06 23:10:52 2016 +0859
@@ -285,7 +285,8 @@
   href4='<a href="#bottom"> 末尾へ</a>'
   cat<<EOF | sq -html $db \
       | sed -e "s|\(<TR><TD>\),e,|\1 $href |" \
-	    -e "s|,s,\(</TD>\)|$href2$href3$href4\1|"
+	    -e "s|,s,\(</TD>\)|$href2$href3\1|" \
+	    -e "s|\(</TD\)>|$href4\1|"
 -- select val from $ts where key="title" and id="$id";
 select
  coalesce((select ",e," from blog where rowid=$rowid and author='$user'),'')

yatex.org