3 points · by asicsp · 2y ago · 2 comments
This interactive tutorial gives a brief tour of the GNU awk command. I'd appreciate your feedback, especially from a beginner's perspective.
If you are already familiar with awk, check out my app with 80+ exercises: https://github.com/learnbyexample/TUI-apps/tree/main/AwkExer...
Info gawk
too.Also, here's a Gemini client with gawk+openssl:
gemini://mozz.us it's a good starting point.
Borrow tgl.awk
https://git.sr.ht/~luxferre/DALE-8A/blob/master/tgl.awk
from this (1) project too, it's a library which boosts up POSIX awk a little. Bitwise ops, trig tan function... (ok, that's easy, sin(x)/cos(x), but still useful), binary data reading and writting...
1) https://git.sr.ht/~luxferre/DALE-8A
On posix AWK +networking against GAWK, you can just use Netcat as a socket to write against. The internals will be the same, or close.
On the project, AWK can do sed/grep fine :)
/match/, gsub();, gensub();(On the other hand, AWK is indeed amazing. If a tutorial can help to lure using it, then, well, why not? :)