That said, if you just want to supplement your knowledge of other shell tools and pull out something that can do some obvious text munging, AWK has always looked attractive for the task to me.
There are two common sources of awk for Windows, for example, that drop one exe to provide the interpreter:
http://unxutils.sourceforge.net/
Perl simply wasn't designed to do that.
Has a recent version of GAWK (Gnu AWK).
I think if you install git for Windows, you get AWK as well.
Yes, but you also get perl there too.
Had Perl held to a single binary, it could be inside busybox.
Perl cannot be inside busybox, and that hasn't been possible since 1993.
Internet always seems the similar, pipes|garbage in| and munging on urban dictionary.....
To anyone processing huge quantities of text and text files, someone very likely had the same problem you faced back in the 1980's and there's a Unix/GNU tool for it already.
Also, happy 1337 karma day :).
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
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.
I'm a huge Linux/Unix fan but sometimes a rethink really works out. I hope Linux will get something similar. I know Powershell is available for Linux but without an adapted userland there's not much benefit
This is probably not important for embedded but doesn’t a pipeline of small scripts (which could be in awk) give you better threading support?
Xargs, GNU parallel or even make then scale that out really quickly.
For any complex text processing, it's way better and more robust than having a super long pipeline of a bunch of sed/grep.
Most recently, I used awk in a script that parses /proc/mount to grab the mountpoint of a partition, or print something different if the partition isn't mounted. Doable with a bunch of sed/grep and some shell logic? Definitely. But easier and cleaner in AWK, and equally easy to inline in a shell-script.