Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
It does, just go to the "Benchmarks" link: https://github.com/ezrosent/frawk/blob/master/info/performan...
GNU awk and jq are at the heart of the templating engine used by a number of Docker Official Images:
https://github.com/docker-library/bashbrew/blob/master/scrip...
https://github.com/docker-library/postgres/blob/master/apply...
https://github.com/docker-library/postgres/blob/master/Docke...
GNU awk and jq are at the heart of the templating engine used by a number of Docker Official Images:
https://github.com/docker-library/bashbrew/blob/master/scrip...
https://github.com/docker-library/postgres/blob/master/apply...
https://github.com/docker-library/postgres/blob/master/Docke...
Yep, functions! I used to write a fair amount of Awk code back in the late '80s and early '90s. I treated Awk as a "real" programming language and tried to make the code nice and readable. This of course involved a lot of use of functions.
I only have a couple of surviving examples of the code from back then, but here they are for the curious:
https://github.com/geary/awk
LJPII.AWK is probably the best example. It made a nicely formatted printout of source code on my HP LaserJet II printer. I wish I had one of the printouts it generated, but they are long gone.
Hmm... I wonder if my Brother printer supports the old LaserJet II control codes? Or maybe there is an emulator online?
The code was written for Thompson Awk (TAWK), so some bits would need to be adapted to modern Awks.