Linux

How to build a multi-file fields concordance

Fields in a data table can be specified with either a field name or a field number. Name and number don’t have to be the same in different files, so that a “FirstName” field could be field 3 in table A and field 4 in table B. Here I show how AWK can be used to build a concordance table that lists the field numbers for the same field names in two or more tables.

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

Comment moderation is enabled. Your comment may take some time to appear.

Back to top button