swerc

anselm's simpler werc fork
git clone git://git.suckless.org/swerc
Log | Files | Refs | README

commit 9394196cdb49be5732be1f4de0886189d193f378
parent 16048be9e61fc2fe0fa5b40bf616039b82848204
Author: uriel@engel.se.cat-v.org <unknown>
Date:   Tue, 20 Jan 2009 04:13:53 +0100

Start the rc template docs.
Diffstat:
Msites/werc.cat-v.org/docs/rc_template_lang.md | 12++++++++++++
1 file changed, 12 insertions(+), 0 deletions(-)

diff --git a/sites/werc.cat-v.org/docs/rc_template_lang.md b/sites/werc.cat-v.org/docs/rc_template_lang.md @@ -0,0 +1,12 @@ +Rc template language +==================== + +Implemented by Kris, thanks! + +Basic syntax: + +* Lines starting with % are executed as rc commands, the resulting output is inserted in the document. +* use %{ and %} to delimit multi line sections of rc code (note the lack of space between % and { or }! +* To 'inline' the value of an environment variable use `%($my_var%)` + +That is basically it!