3 ms·
Show HN: An interactive introduction to Awk
- n8ta 5y agoA real awk implementation in web assembly is being used. https://www.npmjs.com/package/awkjs https://www.npmjs.com/package/awkjs. I wanted to get my feet wet with awk so I decided to write a guide on the basic features. The GNU awk manual (https://www.gnu.org/software/gawk/manual/gawk.html https://www.gnu.org/software/gawk/manual/gawk.html) is good but it's size is a barrier. Hoping this serves a better "first 10 minutes" of awk. Feedback and ideas for other good awk lessons to include are welcome.
- andrew-v 5y agoFrom a viewpoint of a person who never got to learn awk, this was a very nice introduction. Managed to finish it in 15 minutes, almost everything done in the first try, so congratulations to you for providing good explanation for each example.
- n8ta 5y agoThanks mate, glad you enjoyed. Probably going to do something similar to for sed and the other hard-to-approach linux tools soon.