Learning AWK Programming
上QQ阅读APP看书,第一时间看更新

Using the BEGIN and END blocks construct

AWK contains two special keywords, BEGIN and END, for patterns where an action is required. Both of them are optional and are used without slashes. They don't match any input lines.