運維——三劍客awk(二)

在第一篇AWK博客中學習了awk的基本格式和基本的用法,再來複習一下他的基本格式: awk  [options]  'program'  file ... 其中program有兩部分組成:pattern 和 {action  statement;...} pattern部分決定動作語句何時觸發及觸發事件 BEGIN,END action statements對數據進行處理,放在{}內指明 acti
相關文章
相關標籤/搜索