4 ms·
The Awk Programming Language, Second Edition
- jmfldn 3y agoYes! Going to order my copy soon. Great to see these classic tools evolving and hopefully winning new fans from up to date resources like this.
- bosch_mind 3y agoFor any folks who appreciate old UNIX things, check out Unix a history and memoir. It’s written by the one and only - Kernighan and he talks about people like Aho. Awesome book
- andrewstuart 3y agoawk is a weirdly appealing and powerful language - if you do much text processing then it can be a real help. It's one of those tools that benefits hugely from ChatGPT because every single thing you want to do requires looking thing up and working things out. ChatGPT really complements awk well.
- zerr 3y agoDid the popularity of AWK demise after Perl became ubiquitous?
- coldtea 3y agoAwk was always a tool for use in shell scripts and one liners, and is still going strong. Perl, not so much.
- rjh29 3y agoPerl for one-liners is extremely common. It was built with that in mind.
- rjh29 3y agoPrior to Perl most text processing was done with unix pipelines and awk/sed/C. So Perl allowed people to stop writing C and also stop using lots of separate programs to do one thing. Many of the awk constructs survive in Perl such as running code once per line, // for regular expressions which implicitly work on the current line, $1/$2/$3 etc. so it's not too difficult to use Perl instead of awk.
- shric 3y agoThat page, unless I missed it, doesn't say who worked on the updated edition. Was it the original authors?
- alpinisme 3y agoThe preface ends with the original authors names, so yes, I’d say they are behind the new edition. Kernighan also lists the updated edition at the top of his web page
- arp242 3y agoThe Awk Programming Language, Second Edition - https://news.ycombinator.com/item?id=36517525 https://news.ycombinator.com/item?id=36517525 - Jun 2023 (158 comments)
- dang 3y agoYup, since that was only a few months ago, the current repost counts as a dupe. Reposts are fine after a year or so. This is in the FAQ: https://news.ycombinator.com/newsfaq.html https://news.ycombinator.com/newsfaq.html.