Skip to Content
gnux

-1, --field1

Join on this FIELD of file 1.

An option of joinx.

Usage

joinx -1 FIELD FILE1 FILE2
joinx --field1=FIELD FILE1 FILE2

Details

ShortLongValueDefaultMeaning
-1--field1FIELDjoin on this FIELD of file 1

Examples

Look up customer names when the ID is the second column of the orders file

joinx -1 2 -2 1 orders.txt customers.txt

Help in the terminal

gnux help joinx --field1

On this page