changeset 204:71a2c840cfd7

fix 1byte transpose bug
author HIROSE Yuuji <yuuji@gentei.org>
date Mon, 25 Apr 2016 12:11:23 +0859
parents c120ade0c9c3
children 6c63ea1b65d5
files s4-blog.sh
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/s4-blog.sh	Mon Apr 25 09:23:34 2016 +0859
+++ b/s4-blog.sh	Mon Apr 25 12:11:23 2016 +0859
@@ -114,7 +114,7 @@
   cat<<EOF | sq -html $db \
       | sed -e "s|\(<TR><TD>\),e,|\1 $href |" \
 	    -e "s|,s,|$href2$href3|" \
-	    -e "s|,t,\(</TD\)>|$href4\1|"
+	    -e "s|,t,\(</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