News for hackers. Stuff that matters.
Re:The Unreasonable Effectiveness of AWK by fargle on Sunday January 15, 2023 @10:17PM (#34396411)
I realize the author was probably using the term "unreasonable" for literary effect.

But it's not unreasonable at all. Aho of the "Dragon Book", Weinberger of Bell Labs, and of course Brian Kernighan of K&R.

One would expect nothing less, really and they did not disappoint.

Re:The Unreasonable Effectiveness of AWK by raymondh on Sunday January 15, 2023 @10:22PM (#34396432)
The authors themselves were astonished to see what their language could do in the hands of other programmers.
Re:The Unreasonable Effectiveness of AWK by idatum on Sunday January 15, 2023 @10:49PM (#34396572)
That literary effect works these days, unreasonably well unfortunately.

How about "AWK is Still Effective". I'd still click on that.

Re:The Unreasonable Effectiveness of AWK by eternalban on Sunday January 15, 2023 @10:45PM (#34396557)
Stephen Ramsey is an interesting geek! "[A]n Associate Professor of English and a Fellow at the Center for Digital Research in the Humanities". He's an English major all the way to PhD. The title of one of his books proved sufficiently tantalizing to motivate a search:

Reading Machines: Toward an Algorithmic Criticism, 2011:

http://www.dansinykin.com/uploads/8/4/0/2/84026824/ramsay_al...

Re:The Unreasonable Effectiveness of AWK by mths on Sunday January 15, 2023 @10:45PM (#34396558)
I've done a lot of prototyping with AWK, and as with all good prototypes, a lot of them lingered in production for years without so much as a glitch.

I also did the entire 2020 AoC in mainly AWK, with some help of the shell at large at points.

I don't really have a point to make other than showing my appreciation of this quirky tool.

Re:The Unreasonable Effectiveness of AWK by commandersaki on Monday January 16, 2023 @12:56AM (#34397318)

    We’re not creating file handles and opening files (or closing them)
In the past I've had to write awk scripts that explicitly close files since it's quite easy to run out of file descriptors/reach an awk imposed limit.