Generate RSS feeds with grep(1), sed(1), and Awk(1)
romanzolotarev.com
romanzolotarev.com
¹ https://www.rfc-editor.org/rfc/rfc4287.txt
² https://gist.github.com/tjdett/4617547
³ http://xmlsoft.org/xmllint.html
⁴ https://github.com/rrthomas/recode/
⁶ https://oneofus.la/have-emacs-will-hack/files/current/Makefi...
We're lucky C isn't named K&R
I particularly enjoy using gawk (mostly for the more usable match() and sed-like in-file editing), but will do fine with a busybox awk or so as well. Something about the language just clicks with my way of doing things. It's like the perfect middle-ground between a shell script and starting a full python (or equivalent) script.
And that's a good thing.
I'm betting that's because of its steep learning curve.
e.g.: <pre> $ <b>tr -cd ' -~' < /dev/urandom |</b> <i><b>fold -w 20 | head -n 1</b></i> a(k#$(K ?I?d!^NM^(5x $ </pre>
axiolite points out some apparent escaping bugs (https://news.ycombinator.com/item?id=27250215), which would be much easier to catch/fix in a language that was less of a Turing tarpit.
Could anyone here point me to an alternative? Something that generates rss or atom from HTML files, and called from the command line. Essentially, something like pandoc, but for rss.