Re:Perl first commit: a “replacement” for Awk and sed
by tharne on Sunday July 09, 2023 @10:03AM
(#36654513)
> In fact, the name of the original book about awk is The Awk Programming Language.
Great book. I read it after it was so enthusiastically endorsed here on HN. A lot of people said it was worth reading just to take in the excellent technical writing style of Brian Kernighan.
I would offer a strong second to that.
Re:Perl first commit: a “replacement” for Awk and sed
by fuzztester on Sunday July 09, 2023 @03:00PM
(#36657718)
Cool. Yes, his style is good in his other books too, like K&R (C), K&P (Unix), and GOPL (Go), and The Practice of Programming.
All true.
But awk is also a programming language, not just a command line application or utility.
It has conditionals, loops, regexes, file handling, string handling, (limited) user-definable functions, hashes (associative arrays), reporting abilities and more.
In fact, the name of the original book about awk is The Awk Programming Language.