awk
Hacker ApprovedRanked 2 of 14 scripting languages by recommenders
Small, stable language installed on nearly every POSIX system, well suited to quick text and CSV transforms. Critics say complex logic gets awkward and newer tools often do better.
Small, stable language installed on nearly every POSIX system, well suited to quick text and CSV transforms. Critics say complex logic gets awkward and newer tools often do better.
85 people gave an opinion
- recommend it
- 67
- criticize it
- 18
- approval share
- 79%
Recommended in 12 of 13 months
- November 2025: recommended
- December 2025: recommended
- January 2026: recommended
- February 2026: recommended
- March 2026: recommended
- April 2026: recommended
- May 2026: recommended
- June 2026: recommended
- July 2026: recommended
- August 2026: recommended
- September 2026: recommended
- October 2026: recommended
- November 2026: not recommended (month in progress)
Why it carries the badge
- 67 people recommend itNeeds 10 or more, met.
- 3.7 recommenders for every criticNeeds 2 to 1 or better, met.
- Recommended in 12 of 13 monthsNeeds 4 or more, met.
The same three rules apply to every product, and the badge can’t be bought. How the badge works
What people say about it
The reasons people give, with the number of comments that give each one. Open a reason to read what they said.
Why people recommend it
Each mark is one comment
Stable and available on POSIX systems
“It doesn't change, is always installed on all POSIX platforms, easily interfaces with the command line, and is an easy to learn small language.”
Comment from 28 Jan 2026 in “Make.ts” “knowing a bit awk, perl and sed might help as well, as they tend to be available by default.”
Comment from 21 Jul 2026 in “I wrote an bash enumerator because I was sick of xargs” “You can be confident your scripts will still work just the same in ten years.”
Comment from 15 Nov 2025 in “Awk Technical Notes (2023)” - Comment from 14 Nov 2025 in “Awk Technical Notes (2023)”
Quick one-liners for text transforms
“can accomplish in a few readable lines what people write long programs to handle in other languages”
Comment from 24 Feb 2026 in “The Missing Semester of Your CS Education” “this awesome tool for quick and dirty 1-3 line scripts to transform textual information”
Comment from 19 Nov 2025 in “What Killed Perl?” “awk helped me condense a lot of stuff into a small number of LOC”
Comment from 14 Nov 2025 in “Awk Technical Notes (2023)” - Comment from 26 Jul 2026 in “A shell colon does nothing. Use it anyway.”
Small language, easy to learn
“It doesn't change, is always installed on all POSIX platforms, easily interfaces with the command line, and is an easy to learn small language.”
Comment from 28 Jan 2026 in “Make.ts” “AWK is a tiny language that can be learned quickly, and it's ubiquitous”
Comment from 19 Nov 2025 in “What Killed Perl?” “awk is so much better than sed to learn given its ability”
Comment from 14 Nov 2025 in “Awk Technical Notes (2023)” Good for CSV and field splitting
“CSV files parsed with custom reviewed AWK scripts can be 100% safe”
Comment from 29 Jul 2026 in “Document-borne AI worms can self-propagate through Copilot for Word” “I generally like awk a lot for simpler CSV/TSV processing”
Comment from 16 Jan 2026 in “Why DuckDB is my first choice for data processing” “its default field separator treats runs of spaces as one”
Comment from 15 Nov 2025 in “Awk Technical Notes (2023)” - Comment from 26 Jul 2026 in “A shell colon does nothing. Use it anyway.”
What people warn about
Each mark is one comment
Awkward for complex logic
“awk syntax effectively requires learning a new language for complex logic”
Comment from 3 Mar 2026 in “Show HN: SQL-pipe – Query CSV streams with SQLite syntax (written in Zig)” “I've always found awk's "everything is global scope" as a huge limitation”
Comment from 14 Nov 2025 in “Awk Technical Notes (2023)” Newer tools and languages do better
“Honestly, yes, parquet and duckdb make all this easier than awk.”
Comment from 14 Nov 2025 in “650GB of Data (Delta Lake on S3). Polars vs. DuckDB vs. Daft vs. Spark” “Stop using awk, use a real programming language+shell instead”
Comment from 14 Nov 2025 in “Awk Technical Notes (2023)” “all are better than awk/sed/shell scripts”
Comment from 21 Nov 2025 in “FAWK: LLMs can write a language interpreter” Fragile and slow on large files
“grep and awk are extremely fragile because they have to look at what's inside”
Comment from 12 Nov 2025 in “The terminal of the future” “tired of waiting for grep/awk on multi-gigabyte logs”
Comment from 16 Feb 2026 in “Show HN: Twsla – A tiny, high-speed log analyzer written in Go”
Other scripting languages people recommend
The four most recommended other scripting languages, with the same counts for each, so you can compare like for like. The tick on each bar marks the 2 to 1 line the badge needs.
| Product | Recommend | Criticize | Approval | Months | Owned | Badge |
|---|---|---|---|---|---|---|
| Lua | 186 | 62 | 75% | 12 | 10 yrs5 owners | Approved |
| awkThis page | 67 | 18 | 79% | 12 | — | Approved |
| AutoHotkey | 44 | 5 | 90% | 11 | — | Approved |
| GDScript | 22 | 16 | 58% | 9 | — | — |
| AppleScript | 19 | 18 | 51% | 10 | — | — |
What people said
40 of the 97 comments that mention it, newest first. Each links to the original comment.
“AWK is a great hobby, if anyone's looking to get into a new one.”
“an AWK script would most likely be faster, shorter, and easier to maintain”
“CSV files parsed with custom reviewed AWK scripts can be 100% safe”
“Oil or fish and awk are perfectly fine for one liners”
“awk is about the same age but doesn't suffer the same problems.”
“awk and jq are minimal but don't make the same mistakes”
“Access to a well-established set of tools for operating on unstructured text”
“knowing a bit awk, perl and sed might help as well, as they tend to be available by default.”
“Don't need much more'n that to get yerself into all kinda trouble”
“Brian Kernighan isn't going to start charging a subscription fee for AWK”
“AWK is a fantastic language on its own and should be called out when used as such.”
“My favorite (and most ridiculous) application was using the qawk”
“that's what I tend to use if I ever need something beyond a simple substitution”
“awk syntax effectively requires learning a new language for complex logic”
“Three tools born in Bell Labs that still power every server, every pipeline”
“can accomplish in a few readable lines what people write long programs to handle in other languages”
“tired of waiting for grep/awk on multi-gigabyte logs”
“It doesn't change, is always installed on all POSIX platforms, easily interfaces with the command line, and is an easy to learn small language.”
“awk can do some heavy lifting too if the environment is too locked down”
“I generally like awk a lot for simpler CSV/TSV processing”
“you could learn awk or jq, which are arguably more generally- and widely-applicable than nushell”
“What if someone tried to enshittify awk? Good luck with that”
“Awk is short, easy to pronounce, and difficult to confuse with anything else.”
“Given curl, jq, and awk, you can create a quick MVP client for almost any api”
“all are better than awk/sed/shell scripts”
“this awesome tool for quick and dirty 1-3 line scripts to transform textual information”
“AWK is a tiny language that can be learned quickly, and it's ubiquitous”
“You can be confident your scripts will still work just the same in ten years.”
“its default field separator treats runs of spaces as one”
“awk is so much better than sed to learn given its ability”
“I've always found awk's "everything is global scope" as a huge limitation”
“awk already pretty much stopped changing very much decades ago”
“AWK, rc, and mk are the 3 big tools in my shell toolkit. It's great”
“awk helped me condense a lot of stuff into a small number of LOC”
“This pipeline may be significantly reduced by replacing cut's with awk”
“Associative arrays, and other features are indeed very powerful”
“Stop using awk, use a real programming language+shell instead”
“Awk is still one of my favorite tools because its power is underestimated by nearly everyone I see using it.”
“Honestly, yes, parquet and duckdb make all this easier than awk.”
“grep and awk are extremely fragile because they have to look at what's inside”
Counts come from 1,795,640 Hacker News comments, November 2025 to November 2026. How we count. Report a mistake.