Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
help:general_linux:linux_advanced [2016/05/18 14:13]
jebailie
help:general_linux:linux_advanced [2016/05/18 14:16]
jebailie [awk]
Line 30: Line 30:
 "pattern scanning and processing language" "pattern scanning and processing language"
  
-* good for printing columnar data, note that the field separator (between the columns) can be anything (space, tab, colon, etc)+* good for printing columnar data, note that the field separator (between the columns) can be anything (space, tab, colon, etc) and can be specified with -F
 <code> <code>
-user@tim:~$ cat test.file |awk '{print $2}'+user@tim:~$ awk '{print $2}' test.file
 cat cat
 dog dog