News for hackers. Stuff that matters.
Re:Understanding Awk by 5e92cb50239222b on Thursday September 30, 2021 @12:59PM (#28708499)
> awk+xargs can replace hours of work

Including machine hours of work.

Wasn't there a famous story of replacing a Hadoop cluster with an awk script (which was a couple orders of magnitude faster)?

Oh yes, there was: https://news.ycombinator.com/item?id=17135841

Re:Understanding Awk by dapids on Thursday September 30, 2021 @01:18PM (#28708726)
In fairness it's xargs that is providing the command parallelization, not awk, but I agree both combined are a good match.
Re:Understanding Awk by genewitch on Thursday September 30, 2021 @01:30PM (#28708851)
If one considers the idea of map reduce to be taking a set of data and ending up with a subset that is relevant, I've used tons of simple things to do that, and never Hadoop.

I think parsing logs to find pain areas or potential exploit/exfil is a map reduce job, for instance, and grep or awk can manage that just fine.