X-Git-Url: http://git.plutz.net/?p=busy;a=blobdiff_plain;f=templates%2FWiki_show.page;fp=templates%2FWiki_show.page;h=cfe86e4323dc480ce6208c93f441e385202813c9;hp=87e848f805e9d7b588240d1e5c415f3c031dd682;hb=e1944a84d1d7ba27ace2adb0d00a14b3276a5a4c;hpb=f485895094cd72318b46f39689c3ba954eb37411 diff --git a/templates/Wiki_show.page b/templates/Wiki_show.page index 87e848f..cfe86e4 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:

" tail -n+2 $each |_wiki @@ -68,7 +67,7 @@ cat <
-

$title

+

$title

$(_wiki Wiki/"${info}${rev}")