Getting and advanced awk:
text processing trio: Sed awk grep
grep: Filter text
grep 'pattern' input_file ...
Sed: stream editor
awk: generating a formatted report after displaying
the gawk
Nawk new new awk
awk Usage:
awk [Options] 'Script' file1 file2, ...
awk [Options] 'the PATTERN Action {}' file1, file2, ...
Action: Print, the printf
awk '{$ Print. 1, 2} $' test.txt
awk 'the BEGIN { OFS = "#"} {print $ 1, $ 2} 'test.txt
Getting Started with awk and Advanced
Guess you like
Origin blog.51cto.com/14087650/2427483
Recommended
Ranking