Skip to content

join


NAME
     join - join two sorted files on a common field

SYNOPSIS
     join file1 file2

DESCRIPTION
     For every line in file1 whose first field matches the first field of a
     line in file2, print the field followed by the rest of both lines.
     Both files must be sorted on that field.

     This is how two lists were put beside each other before there was a
     database on anybody's desk.

SEE ALSO
     sort(1), comm(1), awk(1)