InsightDataScience / Parsing-Workshop

This is Insight's Workshop to help our DevOps Fellows prepare for Log Parsing Intervies.
121 stars 84 forks source link

Suggestions for Chapters 2 and 3 #3

Open chuckinator0 opened 5 years ago

chuckinator0 commented 5 years ago

In chapter 2, I have a couple of notes:

Notes for chapter 3:

The awk tutorial in the references is not very learner friendly for several reasons. It would be good to establish the usual awk 'condition{action};another condition{another action}' file structure and then talk about possible conditions and actions in increasing complexity using examples. There are some ok tutorials out there, like this one, although this one makes a huge oversight in not mentioning regular expressions and piping into other commands like sort or uniq. Basically, I think it's worth fleshing out awk a bit.

chuckinator0 commented 5 years ago

I forgot to mention that this line:

The variable $0 contains the whole file

is incorrect. In awk, the variable $0 refers to the whole line being processed, not the whole file.