summaryrefslogtreecommitdiffstats
path: root/doc/haserl.1
diff options
context:
space:
mode:
authorNathan Angelacos <nangel@alpinelinux.org>2007-09-22 17:24:38 +0000
committerNathan Angelacos <nangel@alpinelinux.org>2007-09-22 17:24:38 +0000
commitd57abcf87f74fe83c2add23b5b38530960b854d5 (patch)
tree1df868417f6a0ff58294fc1ad292ab52224dfc7b /doc/haserl.1
parent9f67767d2a09460155382d885043413d99018e8f (diff)
downloadhaserl-d57abcf87f74fe83c2add23b5b38530960b854d5.tar.bz2
haserl-d57abcf87f74fe83c2add23b5b38530960b854d5.tar.xz
Merged in Comment code
Diffstat (limited to 'doc/haserl.1')
-rw-r--r--doc/haserl.113
1 files changed, 11 insertions, 2 deletions
diff --git a/doc/haserl.1 b/doc/haserl.1
index 5b98717..5f97aa8 100644
--- a/doc/haserl.1
+++ b/doc/haserl.1
@@ -257,7 +257,15 @@ initially parsed.
.fi
print the shell expression. Syntactic sugar for "echo expr".
-
+.TP
+.B "COMMENT"
+.nf
+<%# comment %>
+.sp
+.fi
+Comment block. Anything in a comment block is not parsed. Comments can be nested and can contain
+other haserl elements.
+
.SH EXAMPLES
.TP
.B WARNING
@@ -273,7 +281,8 @@ You should be familiar with basic web scripting security before using
#!/usr/local/bin/haserl
content-type: text/plain
.sp
-<% env %>
+<%# This is a sample "env" script %>
+<% env %>
.fi
Prints the results of the