X-Git-Url: http://git.plutz.net/?p=busy;a=blobdiff_plain;f=templates%2FWiki_show.page;h=fc3fd26d5fdb8b8fd49f511d01bf0a689b40e370;hp=87e848f805e9d7b588240d1e5c415f3c031dd682;hb=HEAD;hpb=f485895094cd72318b46f39689c3ba954eb37411 diff --git a/templates/Wiki_show.page b/templates/Wiki_show.page index 87e848f..fc3fd26 100755 --- a/templates/Wiki_show.page +++ b/templates/Wiki_show.page @@ -3,8 +3,7 @@ list_comments() { base="$1" - stat -c '' Wiki/${base}.comment.<0000000001-9999999999>_<000-999> \ - && for each in $(ls -c Wiki/${base}.comment.<0000000001-9999999999>_<000-999>); do + for each in $(ls -r Wiki/${base}.comment.<0000000001-9999999999>_<000-999>); do author=$(grep -m1 '^author=' "$each" |cut -d= -f2-) echo "
$author wrote:
;p' + )" + cat <
$title
- $(_wiki Wiki/"${info}${rev}") +$title
+ ${wikitext}