4 ms·
I think Awk is really underappreciated these days. It is available everywhere so no need to install or configure it, and the language is so compact you can kee
by wernsey 10y ago
I think Awk is really underappreciated these days.
It is available everywhere so no need to install or configure it, and the language is so compact you can keep most in your head and not need to .
Even though it is marketed as a language for text processing, it is very flexible. I even finished a lot of Project Euler questions with it.
- dozzie 10y agoI concur. I rarely see anybody but myself use awk, but it's so handy for hacking together some reports or format logs.
- eb0la 10y agoTruth is AWK can beat most "big data" tools uses on a single node. I remember trying to cut some data from a 18GB csv file with etl tools (even one made by google!) and not getting any results after several houer because the file was way too long. AWK (and tee) made me wait for 20 minutes to get the final result. 10x less than the largest running method I tried so far...
- a-saleh 10y agoAny good resources for learning it? I keep hearing good things about this little language.
- dozzie 10y agoHonestly, `man awk' (or `man gawk') is good enough not to need anything else. I learned awk this way over a decade ago.