All apps/join

join

join

Join lines of two sorted files on a common field.

Runs as join|macOS, Linux, Windows

Autocomplete

Fig spec, with what the manifest adds · 8 options
Published once and never changed; check the digest before caching
sha256
305a00b37022b68e898e9b073e3c72643ebfa70f4439f0331b7df295ef8ca2fc
Size
2922 bytes
OptionsOn join itself
-a
In addition to the default output, produce a line for each unpairable line in file file_number <file_number>
-e
Replace empty output fields with string <string>
-o
The -o option specifies the fields that will be output from each file for each line with matching join fields. Each element of list has either the form file_number.field, where file_number is a file number and field is a field number, or the form ‘0’ (zero), representing the join field. The elements of list must be either comma (',') or whitespace separated. (The latter requires quoting to protect it from the shell, or, a simpler approach is to use multiple -o options.) <list>
-t
Use character char as a field delimiter for both input and output. Every occurrence of char in a line is significant <char>
-v
Do not display the default output, but display a line for each unpairable line in file file_number. The options -v 1 and -v 2 may be specified at the same time <file_number>
-1
Join on the field'th field of file1 <field>
-2
Join on the field'th field of file2 <field>
-j
Join on the field'th field of both file1 and file2 <field>
ArgumentsPositional, in order
<file1>
First file in the join operation
<file2>
Second file in the join operation