ref: 0aa49cd185880f9b72fe39d21d129f6df3aeb7c2
parent: 63d9ac4570c821a09bf60e3e9534df9b9dd9a0b3
author: uriel <[email protected]>
date: Fri Jan 23 11:46:25 EST 2009
New helpful dprintvars deubg function.
--- a/bin/cgilib.rc
+++ b/bin/cgilib.rc
@@ -5,6 +5,7 @@
'
fn dprint { echo $* >[1=2] }
+fn dprintvars { { for(v in $*) { echo -n $v^'#'^$#$v^'=' $$v '; ' }; echo } >[1=2] }
fn escape_html { sed 's/&/\&/g; s/</\</g; s/>/\>/g' $* }