Show HN: An interactive introduction to Awk

(n8ta.com)

40 points | by n8ta 11 days ago

2 comments

  • n8ta 11 days ago
    A real awk implementation in web assembly is being used. 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) 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 11 days ago
      From 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 11 days ago
        Thanks mate, glad you enjoyed. Probably going to do something similar to for sed and the other hard-to-approach linux tools soon.