Pub, my new writing tool

Introducing pub, my new writing tool! I built it by hand in shell script, specifically using ksh. It allows me to write blog posts in the terminal and propagate the posts to text, html, and email. The coolest part about it is that it feels like I'm just writing an email using the mail(1) command. It also auto-wraps the content for nex (60 lines) and email (80 - however this may change to 72 as per useplaintext.email). It also automatically moves them to their corresponding directories, so I don't even have to move them myself. You can check it out on Sourcehut by visiting:

git.sr.ht/~jordanreger/pub

Edit: You should check out the nex version and email version of this post.