Introduction
Introduction Statistics Contact Development Disclaimer Help
More documentation work. - swerc - anselm's simpler werc fork
git clone git://git.suckless.org/swerc
Log
Files
Refs
README
---
commit 99d619bf5926006ab78f021656ecc166582eaf6e
parent ea0d82835213d3a9149a768b1f395c333c45367d
Author: Uriel <[email protected]>
Date: Fri, 11 Jun 2010 04:28:39 +0000
More documentation work.
Diffstat:
M sites/werc.cat-v.org/docs/rc-templ… | 18 ++++++++++++++----
M sites/werc.cat-v.org/index.md | 2 +-
2 files changed, 15 insertions(+), 5 deletions(-)
---
diff --git a/sites/werc.cat-v.org/docs/rc-template-lang.md b/sites/werc.cat-v.o…
@@ -13,7 +13,7 @@ That is basically it!
For further documentation on rc see:
-* [The rc(1) man page for Plan 9](http://man.cat-v.org/plan_9/1/rc).
+* [The rc(1) man page from Plan 9](http://man.cat-v.org/plan_9/1/rc).
* [The rc shell paper by Tom Duff](http://rc.cat-v.org).
@@ -27,8 +27,18 @@ Loops
% echo '<li>'$i'</li>'
% }
</uL>
-
-Is equivalent to:
+
+Can also be writen as:
+
+ <ul>
+ %{
+ for(i in a b c) {
+ echo '<li>'$i'</li>'
+ }
+ %}
+ </uL>
+
+and is equivalent to:
<ul>
% for(i in a b c) {
@@ -36,7 +46,7 @@ Is equivalent to:
% }
</uL>
-and results in this output:
+All three code examples result in this output:
<ul>
<li>a</li>
diff --git a/sites/werc.cat-v.org/index.md b/sites/werc.cat-v.org/index.md
@@ -1,7 +1,7 @@
werc - A sane web anti-framework
================================
-Werc is a minimalist web anti-framework built following the Unix and Plan 9
+Werc is a minimalist web anti-framework built following the [Unix](http://doc.…
*tool philosophy* of software design.
Werc avoids the pain of managing collections of websites and developing web
You are viewing proxied material from suckless.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.