News for hackers. Stuff that matters.
Re:GNU Awk 5.0 by dontbenebby on Tuesday April 16, 2019 @01:21PM (#19675469)
Does anyone know a good awk tutorial or book?

I kind of skipped over it in my journey into the world of Unix... I usually either (bash shell scripting, tools like cut and grep + pipes and redirection) or use python.

Re:GNU Awk 5.0 by brians on Tuesday April 16, 2019 @02:05PM (#19675848)
https://news.ycombinator.com/item?id=13451454

The Aho and Kernighan book is amazing.

Re:GNU Awk 5.0 by noufalibrahim on Tuesday April 16, 2019 @02:14PM (#19675924)
I have a rule of thumb that I'll buy and read any book which Kernighan is an author of regardless of subject. He's more or less the gold standard of technical writing for me.
Re:GNU Awk 5.0 by dontbenebby on Tuesday April 16, 2019 @11:38PM (#19679572)
Cool, thanks for the suggestion! Are the basics pretty much unchanged? I see that edition is from 1988. I like free stuff, but I don't mind paying if you think a more recent edition is worth the $.
Re:GNU Awk 5.0 by fooblitzky on Tuesday April 16, 2019 @01:53PM (#19675739)
_The AWK Programming Language_ ( https://smile.amazon.com/AWK-Programming-Language-Alfred-Aho... ) is one of the best programming books, on any language, in my opinion. Worth reading even if you don't use awk. In less than 200 pages it covers an introduction to the language, through to implementing a relational database, recursive-descent parsing, and graph-based algorithms.

For gawk, the manual covers the gaps between the language introduced in the book and the latest implementation.

Re:GNU Awk 5.0 by burgerdev on Wednesday April 17, 2019 @02:50AM (#19680358)
The 6 page summary in the 7th edition manual turned out to be comprehensive while still being approachable. I knew next to nothing about awk, not counting some snippets found on the web, after reading through this document twice awk feels like home.

https://9p.io/7thEdMan/v7vol2b.pdf (starting on page 105)