Does anyone know if there's a repository of similarly literate awk scripts?
Does anyone know if there's a repository of similarly literate awk scripts?
I have a couple of AWK scripts to handle my personal finances (basically, consuming various bank/credit card statements and turning them to Ledger files) and it’s just the perfect language for that kind of task. My scripts look fairly similar to the examples in the blog post, they also use the same state-machine trick. With the possible exception of Perl/Raku, it’s my favourite language for that kind of thing.
https://ia803404.us.archive.org/0/items/pdfy-MgN0H1joIoDVoIC...
https://github.com/berry-thawson/diff2html
This is first attempt in writing awk script. Would like to know how readable it is.
Edits : added a new line. changed some words.