So I have this questionable pastime of rewriting bash scripts into zsh. (Crazy, ...

@me@doasu.dev

So I have this questionable pastime of rewriting bash scripts into zsh. (Crazy, I know. Who would've expected that from the Zshill...?)

Well, it just so happened that I was in a dire need of a static site generator, and I remembered that @j-g00da generates all HTML on https://kamiokan.de using her excellent XML.sh...!

I unironically think it's a pretty elegant solution, so I rewrote it in zsh (slightly tweaking the syntax) for personal use :p

Here's an example:
:: rights type=trans are :: human =>
<rights type="trans" are>human</rights>

Sauce: https://code.doasu.dev/sh/xml.zsh
Enjoy~!


Thanks @j-g00da! :3

#zsh #zshell #zshill