diff options
author | Marcin Chrzanowski <marcin.j.chrzanowski@gmail.com> | 2019-11-03 22:40:16 +0100 |
---|---|---|
committer | Marcin Chrzanowski <marcin.j.chrzanowski@gmail.com> | 2019-11-03 22:40:16 +0100 |
commit | aa148e2a7d531ec3402208096b31a81dda8a81b9 (patch) | |
tree | 4e7921050b4ad5557cf3f70da3dadfad6205bbfc | |
parent | b911c20734202466d1956bd7362d55c63dd44da1 (diff) |
Reminder about shell interpolation
-rw-r--r-- | awk.md | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -7,6 +7,8 @@ Program is ;-separated pattern-action statements. /pattern/ { action } + # e.g. (apostrophes to not interpolate shell vars + awk '/tt/ { print $1 }' awk.md `$0` is whole line, `$1`, `$2`, ... are fields separated by `FS` (by default, whitespace). |