New helpful dprintvars deubg function.
This commit is contained in:
parent
fc6fd5045f
commit
61be624c8c
1 changed files with 1 additions and 0 deletions
|
|
@ -5,6 +5,7 @@ NEW_LINE='
|
|||
'
|
||||
|
||||
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' $* }
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue