The Linux awk text analysis tool

AWK is a language processing text files, text analysis is a powerful tool. Linux environment comes.

awk call methods

  1. Command Line
    awk [-F field-separator] 'commands' input-file(s)
  2. shell script way
    #!/bin/sh
  3. way awk script
    `#!/bin/awk awk -f 脚本文件 待处理文件

Guess you like

Origin www.cnblogs.com/yoyoyang/p/11822965.html