I’ve been using Linux for 25 years, awk is a more recent addition to my arsenal, but rapidly becoming more and more useful.
For example, awk is extremely helpful if you want to rearrange columns, do math on columns, essentially do things that would take multiple lines of bash with cut and read.
I used to switch to perl or python if I needed awk. These days I don’t tend to run into it as much. Not sure if that was a good choice. But it’s how I spent the past 25 years.
I’ve been using Linux for 25 years,
awkis a more recent addition to my arsenal, but rapidly becoming more and more useful.For example,
awkis extremely helpful if you want to rearrange columns, do math on columns, essentially do things that would take multiple lines ofbashwithcutandread.I used to switch to
perlorpythonif I neededawk. These days I don’t tend to run into it as much. Not sure if that was a good choice. But it’s how I spent the past 25 years.That makes sense! I think I’d be running Nushell for this if the scripts didn’t need to be very portable, sounds like a good use case for that.