diff options
author | Marcin Chrzanowski <marcin.j.chrzanowski@gmail.com> | 2019-07-27 17:33:01 -0700 |
---|---|---|
committer | Marcin Chrzanowski <marcin.j.chrzanowski@gmail.com> | 2019-07-27 17:33:01 -0700 |
commit | b2418f0ae11a9b3b3e4f4c4460948315fd2bc40e (patch) | |
tree | d782d3a57c6da7d81788ea4777d11bd2fc968618 /awk.md | |
parent | dd69b473e8dfbb7a33bed087e182c51cf2479744 (diff) | |
parent | d20f9efbdda60019bac35849fa99dbb47d3c7551 (diff) |
Merge branch 'master' of gitlab.com:m-chrzan/cheatsheets
Diffstat (limited to 'awk.md')
-rw-r--r-- | awk.md | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -0,0 +1,12 @@ +# Awk + +## Basics + + awk program file + +Program is ;-separated pattern-action statements. + + /pattern/ { action } + +`$0` is whole line, `$1`, `$2`, ... are fields separated by `FS` (by default, +whitespace). |