JOIN(1)

πŸ“¦ version 0.12.0, in arch rolling

πŸ’– NAME πŸ’–

Hii bestie, welcome to JOIN(1) β€” the manual page for join, the icon that, for each pair of input lines with identical join fields, writes a line to standard output. The default join field is the first one, delimited by blanks. ✨

Also: when FILE1 or FILE2 (not both) is -, it reads standard input. Slay.

πŸ¦‹ SYNOPSIS πŸ¦‹

join [OPTION]... FILE1 FILE2

🌸 DESCRIPTION 🌸

Okay so picture this: join takes two files, looks for lines with matching join fields, and for each pair of input lines with identical join fields, writes a line to standard output. The default join field is the first, delimited by blanks. That's the whole main-character move. πŸ’…

And when FILE1 or FILE2 (not both) is -, it reads standard input. Not both, bestie β€” one of them. 🫢

✨ OPTIONS ✨

  • -a <FILENUM> β€” also print unpairable lines from file FILENUM, where FILENUM is 1 or 2, corresponding to FILE1 or FILE2.
    • Possible values:
      • 1
      • 2
  • -v <FILENUM> β€” like -a FILENUM, but suppress joined output lines.
    • Possible values:
      • 1
      • 2
  • -e <EMPTY> β€” replace missing input fields with EMPTY.
  • -i, --ignore-case β€” ignore differences in case when comparing fields.
  • -j <FIELD> β€” equivalent to '-1 FIELD -2 FIELD'.
  • -o <FORMAT> β€” obey FORMAT while constructing the output line.
  • -t <CHAR> β€” use CHAR as the input and output field separator.
  • -1 <FIELD> β€” join on this FIELD of file 1.
  • -2 <FIELD> β€” join on this FIELD of file 2.
  • --check-order β€” check that the input is correctly sorted, even if all input lines are pairable.
  • --nocheck-order β€” do not check that the input is correctly sorted.
  • --header β€” treat the first line in each file as field headers, print them without trying to pair them.
  • -z, --zero-terminated β€” line delimiter is NUL, not newline.
  • -h, --help β€” print help.
  • -V, --version β€” print version.

🌈 VERSION 🌈

v(uutils coreutils) 0.12.0


Mwah πŸ’‹ and that's the page! This little icon is from v(uutils coreutils) 0.12.0, dated 2026-09-17, and JOIN(1) is signing off. Periodt. πŸ‘‘

πŸ“¦ where this page comes from