diff s4-funcs.sh @ 494:6906c140431a

Fix pattern: Allow spaces for group name in group listing
author HIROSE Yuuji <yuuji@gentei.org>
date Sat, 16 Jun 2018 13:43:32 +0900
parents 35458671d18c
children 59cd8278a5b5
line wrap: on
line diff
--- a/s4-funcs.sh	Sat Jun 16 13:25:55 2018 +0900
+++ b/s4-funcs.sh	Sat Jun 16 13:43:32 2018 +0900
@@ -1947,7 +1947,7 @@
     echo "<h2>$tn</h2>"
     echo '<table class="b listgroup">'
     sq -header -html $db "$sql" \
-       | sed "s,\(<TR><TD>\)\([0-9]*\):\([^ ]*\)</TD>,\1$href\2\">\3</a>,"
+      | sed "s,\(<TR><TD>\)\([0-9]*\):\([^<]*\)</TD>,\1$href\2\">\3</a>,"
     echo '</table>'
   done
   echo '</div>'

yatex.org