Recently Written · git

tmpl

Insanely simple templates

git clone https://github.com/equwal/tmpl

Log | Files | Refs


sh/str-fn (156 bytes)

1 fn () {
2     # argument: the name of variable to call-by-reference, output string into.
3     <++>
4     eval "$1=\${<++>}" # Don't clobber trailing newlines.
5 }