X-Git-Url: http://git.plutz.net/?p=busy;a=blobdiff_plain;f=Wiki.page;h=490966367705b8b8d744062aa4e6aa007612c0a3;hp=5effa39776e13d0c6c3e8ef2564ecebc523b760f;hb=44407376a39cd71f292875c4d09214277110d724;hpb=4d19dde6efd5d0063b769bbd3d5bb3a213f42502 diff --git a/Wiki.page b/Wiki.page index 5effa39..4909663 100755 --- a/Wiki.page +++ b/Wiki.page @@ -25,10 +25,9 @@ if [ -n "$edit" -a -r "Wiki/$edit" ]; then title="$(egrep -x 'title=.+' "Wiki/$edit.meta" |cut -d= -f2- || echo '(Untitled)')" cat < -
Editing $title
- +
@@ -39,6 +38,14 @@ if [ -n "$edit" -a -r "Wiki/$edit" ]; then + WikiEND elif [ -n "$info" -a -r "Wiki/${info}${rev}" ]; then @@ -81,10 +88,10 @@ elif [ -n "$info" -a -r "Wiki/${info}${rev}" ]; then
-
+

$title

$(_wiki Wiki/"${info}${rev}") -
+
WikiEND @@ -95,16 +102,16 @@ $LOGIN && cat < Comment:

- + Cancel WikiEND stat -c '' Wiki/${info}.comment.<0000000000-9999999999>_<000-999> && for each in $(ls -c Wiki/${info}.comment.<0000000000-9999999999>_<000-999>); do author=$(grep -m1 '^author=' "$each" |cut -d= -f2-) - echo "

$author wrote:

" - tail -n-1 $each - echo '
' + echo "

$author wrote:

" + tail -n+2 $each |_wiki + echo '
' done echo '' @@ -136,7 +143,7 @@ WikiEND
Description:

- + Cancel @@ -155,7 +162,7 @@ WikiEND

$title

$description

View - $($LOGIN && echo "Change Title") + $($LOGIN && echo "Change Info") WikiEND $LOGIN && cat <Title:
Description:

- + Cancel