News for hackers. Stuff that matters.

Show HN: Interactive GNU Awk tutorial for beginners (TUI app)

https://github.com/learnbyexample/TUI-apps/tree/main/AwkTutorial

Hello.

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...

( 2 comments | 2 points | on HN )
Re:Show HN: Interactive GNU Awk tutorial for beginners (TUI ... by anthk on Monday April 29, 2024 @07:06AM (#40196834)

     Info gawk   
too.

Also, here's a Gemini client with gawk+openssl:

http://git.vgx.fr/gem.awk/

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();
Re:Show HN: Interactive GNU Awk tutorial for beginners (TUI ... by dsjkvf on Monday April 29, 2024 @12:50PM (#40200835)
The only real tutorial for a tool is a task you have to solve with exactly that tool. Learning in advance is just pointless. Unfortunately.

(On the other hand, AWK is indeed amazing. If a tutorial can help to lure using it, then, well, why not? :)