天天看點

awk用法

grep:文本過濾器,

grep "pattern" input_file ....

sed: 流編輯器;

sed "command/PATTERD/"

awk:報告生成器。能夠将輸入的資訊格式化之後顯示;包括nawk版本,gawk版本

用法:

  awk [option] 'script' file1 file2, ...

  awk [option] 'PATTERN {action}' file1, file2. ...

    print, printf

位址:http://edu.51cto.com/lesson/id-17373.html

meetup

firebug