s4
changeset 31:737a6e2717a9
Regexp fix
author | HIROSE Yuuji <yuuji@gentei.org> |
---|---|
date | Wed, 22 Jul 2015 09:34:35 +0900 |
parents | a9f061d74153 |
children | 280024035566 |
files | s4-funcs.sh |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line diff
1.1 --- a/s4-funcs.sh Wed Jul 22 09:31:18 2015 +0900 1.2 +++ b/s4-funcs.sh Wed Jul 22 09:34:35 2015 +0900 1.3 @@ -1179,7 +1179,7 @@ 1.4 echo "<h2>$tn</h2>" 1.5 echo '<table class="b listgroup">' 1.6 sq -header -html $db "$sql" \ 1.7 - | sed "s,\(<TR><TD>\)\([0-9]*\):\([-_A-z0-9]*\)</TD>,\1$href\2\">\3</a>," 1.8 + | sed "s,\(<TR><TD>\)\([0-9]*\):\([^ ]*\)</TD>,\1$href\2\">\3</a>," 1.9 echo '</table>' 1.10 done 1.11 echo '</div>'