Re:Generate RSS feeds with grep(1), sed(1), and Awk(1)
by jedimastert on Saturday May 22, 2021 @03:03PM
(#27249340)
Awk is really such an interesting tool that I don't see people using enough. I could see how awk would be perfect for this
[ Parent
| on HN ]
Re:Generate RSS feeds with grep(1), sed(1), and Awk(1)
by falsaberN1 on Saturday May 22, 2021 @04:51PM
(#27250154)
I use awk a lot myself. It's gotten to the point where I enjoy using it, might be a disease of some sort.
But it's still been highly productive for parsing text streams or do stuff like add proper visual feedback to plaintext tools, pretty progress bars for wget/curl download jobs, monitoring scripts and generally anything related to extracting bits of data or pretty-printing.
I particularly enjoy using gawk (mostly for the more usable match() and sed-like in-file editing), but will do fine with a busybox awk or so as well. Something about the language just clicks with my way of doing things. It's like the perfect middle-ground between a shell script and starting a full python (or equivalent) script.
Re:Generate RSS feeds with grep(1), sed(1), and Awk(1)
by nmz on Saturday May 22, 2021 @07:54PM
(#27251296)
The more awk I write, the more it starts to look like apl/j.
And that's a good thing.
Re:Generate RSS feeds with grep(1), sed(1), and Awk(1)
by ape4 on Saturday May 22, 2021 @03:06PM
(#27249380)
Its named after the last names of the creators:
Alfred Aho, Peter Weinberger, and Brian Kernighan.
We're lucky C isn't named K&R
Re:Generate RSS feeds with grep(1), sed(1), and Awk(1)
by midasuni on Saturday May 22, 2021 @07:22PM
(#27251133)
Musk he been AWKward to decide the best order of the initials
Re:Generate RSS feeds with grep(1), sed(1), and Awk(1)
by turndown on Saturday May 22, 2021 @10:32PM
(#27251975)
It was decided that other options were WAK.
Re:Generate RSS feeds with grep(1), sed(1), and Awk(1)
by dexterdog on Sunday May 23, 2021 @12:30AM
(#27252475)
Kwa?