Hacker News new | past | comments | ask | show | jobs | submit login
Show HN: An interactive introduction to Awk (n8ta.com)
40 points by n8ta 14 days ago | hide | past | favorite | 3 comments

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.

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.

Thanks mate, glad you enjoyed. Probably going to do something similar to for sed and the other hard-to-approach linux tools soon.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact