4 ms·
I once developed a tiny single-file bash script to do dumb string substitution for arbitrary files and arbitrary strings, and I used this exact Lua mechanic to
by luizfelberti 7y ago
I once developed a tiny single-file bash script to do dumb string substitution for arbitrary files and arbitrary strings, and I used this exact Lua mechanic to avoid escaping issues if the delimiters I chose collide with the syntax. It's a pretty great mechanic.
My script is here if you wanna check it out https://github.com/luizberti/templ https://github.com/luizberti/templ