s4

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 diff
     1.1 --- a/s4-blog.sh	Mon Apr 25 09:23:34 2016 +0859
     1.2 +++ b/s4-blog.sh	Mon Apr 25 12:11:23 2016 +0859
     1.3 @@ -114,7 +114,7 @@
     1.4    cat<<EOF | sq -html $db \
     1.5        | sed -e "s|\(<TR><TD>\),e,|\1 $href |" \
     1.6  	    -e "s|,s,|$href2$href3|" \
     1.7 -	    -e "s|,t,\(</TD\)>|$href4\1|"
     1.8 +	    -e "s|,t,\(</TD>\)|$href4\1|"
     1.9  -- select val from $ts where key="title" and id="$id";
    1.10  select
    1.11   coalesce((select ",e," from blog where rowid=$rowid and author='$user'),'')