16. Further Reading
About 2 min
16. Further Reading ๊ด๋ จ
16. Further Reading
CLI Text Processing with GNU awk
man awk
andinfo awk
and online manual- Information about various implementations of
awk
awk
FAQ โ great resource, but last modified 23 May 2002- grymoire: awk tutorial โ covers information about different
awk
versions as well - cheat sheet for awk/nawk/gawk
- list of freely available
awk
implementations
- Q&A on stackoverflow/stackexchange are good source of learning material, good for practice exercises as well
- Learn Regular Expressions (has information on flavors other than POSIX too)
- regular-expressions โ tutorials and tools
- rexegg โ tutorials, tricks and more
- stackoverflow: What does this regex mean?
- online regex tester and debugger โ not fully suitable for CLI tools, but most of ERE syntax works
- Related tools
- GNU datamash
-
lh3/bioawk
-
ezrosent/frawk
โ an efficient awk-like language, implemented in Rust -
benhoyt/goawk
โ POSIX-compliant awk interpreter written in Go, with CSV support -
gelisam/hawk
โ similar toawk
, but using Haskell as the text-processing language -
johnkerl/miller
โ similar toawk
/sed
/cut
/join
/sort
for name-indexed data such as CSV, TSV, and tabular JSON (see this news.ycombinator discussion for other tools like this)
- Miscellaneous
- unix.stackexchange: When to use
grep
,sed
,awk
,perl
, etc -
e36freak/awk-libs
โ lots of useful functions -
TheMozg/awk-raycaster
โ Pseudo-3D shooter written completely in awk - awk REPL โ live editor (browser app)
- unix.stackexchange: When to use
- ASCII reference and locale usage
- Examples for some of the topics not covered in this book
- unix.stackexchange: rand/srand
- unix.stackexchange: strftime
- stackoverflow: arbitrary precision integer extension
- stackoverflow: recognizing hexadecimal numbers
- unix.stackexchange: sprintf and file closing
- unix.stackexchange: user defined functions and array passing
- unix.stackexchange: rename CSV files based on number of fields in header row