sh/str-fn (208 bytes)
1 # Shell function that returns a string by reference 2 fn () { 3 # argument: the name of variable to call-by-reference, output string into. 4 <++> 5 eval "$1=\${<++>}" # Don't clobber trailing newlines. 6 }
git clone https://github.com/equwal/tmpl