AWK Programming Language

This cluster focuses on discussions praising AWK's utility for text processing, one-liners, and Unix pipelines, with recommendations to learn it, comparisons to Perl/Python/JS, and shares of resources despite its age.

📉 Falling 0.2x Programming Languages
3,453
Comments
20
Years Active
5
Top Authors
#1254
Topic ID

Activity Over Time

2007
2
2008
10
2009
23
2010
65
2011
107
2012
65
2013
117
2014
78
2015
121
2016
131
2017
249
2018
252
2019
297
2020
465
2021
323
2022
278
2023
441
2024
276
2025
144
2026
9

Keywords

e.g JS eli.li awk.html youtu.be openwrt.org lists.gnu END BEGIN IMO awk sed perl grep print 2021 python line language utilities

Sample Comments

throw56 Oct 28, 2019 View on HN

read the comments: https://hn.algolia.com/?q=%22awk%22

OriginalPenguin May 20, 2020 View on HN

If awk's syntax was a subset of either python or JS, wouldn't it be better to just use python or JS?

sidlls Jul 9, 2023 View on HN

awk is a fantastic command line application that is useful for filtering, basic computations and transformations that other basic utilities (e.g. cut, sort, etc.) + grep don't (readily/easily) provide. I suppose it might be a bit archaic these days, but for someone familiar with it, it's often faster to compose an awk command than to write even a very quick/short script in, e.g., python or perl, for certain things.

pmarreck Jun 29, 2023 View on HN

Awk is old but great, designed to chew through lines of text files with ease, and has great defaults that minimize the amount of awk code you actually have to write to do anything. It's underrated.

soufron May 2, 2020 View on HN

Awk in 2 minutes : google "awk this" and "awk that" :D

RodgerTheGreat Dec 19, 2024 View on HN

Learn AWK. It's tremendously simpler than Perl, and even more omnipresent. In a week or two of study and tinkering you'll be an expert.

fomine3 Sep 8, 2021 View on HN

Perl is sometimes "better awk".

dang Sep 30, 2021 View on HN

Significant past threads. I had to leave a ton of submissions out! Any others that are particularly good?Awk: The Power and Promise of a 40-Year-Old Language - https://news.ycombinator.com/item?id=28441887 - Sept 2021 (118 comments)Awk is the coolest tool you don't know - https:/

stepvhen Aug 18, 2016 View on HN

But thats why there are tools like awk.

WFHRenaissance May 12, 2022 View on HN

AWK is my hammer and I will abuse it to every end