Skip to Content
gnux

-o, --output-format

Obey FORMAT while constructing output line.

An option of joinx.

Usage

joinx -o FORMAT FILE1 FILE2
joinx --output-format=FORMAT FILE1 FILE2

Details

ShortLongValueDefaultMeaning
-o--output-formatFORMATobey FORMAT while constructing output line

Examples

Merge two inventories into one table, marking missing values as NULL

joinx -a 1 -a 2 -e NULL -o auto a.txt b.txt

Build a report with just the columns you need, in your order

joinx -o 1.2,2.3,0 a.txt b.txt

Help in the terminal

gnux help joinx --output-format

On this page