News for hackers. Stuff that matters.
Re:The State of the Awk (2020) by kqr on Thursday January 19, 2023 @10:50AM (#34441597)
There's one fairly obvious error in that article: the fields are $F[0] etc, not @F[0]. Otherwise yes, that's a good way to make Perl look like awk. I personally translate awk concepts to more idiomatic Perl (I had no idea about -MEnglish, for example) but the concepts are still the same.
Re:The State of the Awk (2020) by jrumbut on Thursday January 19, 2023 @12:52PM (#34443271)
You're right, but it will still work as written.