More documentation work.
This commit is contained in:
parent
14e63eedf2
commit
f4497d7010
@ -13,7 +13,7 @@ That is basically it!
|
|||||||
|
|
||||||
For further documentation on rc see:
|
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).
|
* [The rc shell paper by Tom Duff](http://rc.cat-v.org).
|
||||||
|
|
||||||
|
|
||||||
@ -27,8 +27,18 @@ Loops
|
|||||||
% echo '<li>'$i'</li>'
|
% echo '<li>'$i'</li>'
|
||||||
% }
|
% }
|
||||||
</uL>
|
</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>
|
<ul>
|
||||||
% for(i in a b c) {
|
% for(i in a b c) {
|
||||||
@ -36,7 +46,7 @@ Is equivalent to:
|
|||||||
% }
|
% }
|
||||||
</uL>
|
</uL>
|
||||||
|
|
||||||
and results in this output:
|
All three code examples result in this output:
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
<li>a</li>
|
<li>a</li>
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
werc - A sane web anti-framework
|
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.cat-v.org/unix/) and [Plan 9](http://plan9.cat-v.org)
|
||||||
*tool philosophy* of software design.
|
*tool philosophy* of software design.
|
||||||
|
|
||||||
Werc avoids the pain of managing collections of websites and developing web
|
Werc avoids the pain of managing collections of websites and developing web
|
||||||
|
Loading…
Reference in New Issue
Block a user