awk
Installation
SKILL.md
awk
Fast, scriptable field extraction, filtering, and aggregation on text records.
Quick Start
- Verify
awkis available:awk --versionorawk 'BEGIN {print PROCINFO["version"]}' - Establish the command surface:
man awkorawk --help - Start with a read-only probe on sample data:
awk '{print $1, $3}' sample.txt
Intent Router
Load only the reference file needed for the active request.
references/install-and-setup.md— Installing awk (GNU, mawk, nawk, POSIX) on macOS, Linux, Windowsreferences/cheatsheet.md— Common flags, one-liners, field/record patterns, I/O control, built-in variablesreferences/advanced-usage.md— Multi-dimensional arrays, string functions, regex subtleties, user-defined functions, scripting workflows, GNU vs BSD/POSIX differencesreferences/troubleshooting.md— CSV edge cases, locale issues, field separator confusion, performance with large files, variable scope