
Text Processing
How to Use awk to Join Two Files on a Key Without Surprises
Join two files on a key with awk: inner and left joins, duplicate keys, composite keys, output separators and when the join command is the better choice.
6 min read
Tag
2 posts

Join two files on a key with awk: inner and left joins, duplicate keys, composite keys, output separators and when the join command is the better choice.

Combine cut, paste and column to build and align tables from text: select fields, merge files side by side, pretty print columns and handle delimiters.