swerc

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

commit 2de3bf66f26875cdb6af5457de776f4c071530c8
parent 2fbe1e02c7528eeaa6b05d2ca09829c32e132ba5
Author: uriel@engel.se.cat-v.org <unknown>
Date:   Thu,  8 Jan 2009 16:46:00 +0100

Add nested lists rc helper
Diffstat:
Mbin/cgilib.rc | 9+++++++++
1 file changed, 9 insertions(+), 0 deletions(-)

diff --git a/bin/cgilib.rc b/bin/cgilib.rc @@ -132,6 +132,15 @@ fn get_cookie { } +############################################## +# Generic rc programming helpers + +fn ll_add { + l = $1^_^$#$1 + $l = $*(2-) + $1=( $$1 $l ) +} + ############################################## # More werc-specific functions