COMM(1)

πŸ“¦ version 0.12.0, in arch rolling

πŸ’– COMM(1) β€” General Commands Manual, but make it cute πŸ’–

okay so bestie, welcome to the General Commands Manual entry for comm, aka COMM(1) β€” she compares sorted files and she ate. πŸ’…βœ¨


🌸 NAME 🌸

comm β€” compare two sorted files line by line. Periodt. πŸ’–

When FILE1 or FILE2 (not both) is -, read standard input. No cap, that little dash is the stdin moment. ✨

With no options, produce three-column output. Column one contains lines unique to FILE1, column two contains lines unique to FILE2, and column three contains lines common to both files. It’s giving organized, lowkey iconic. πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

comm [OPTION]... FILE1 FILE2

πŸ’œ DESCRIPTION πŸ’œ

Compare two sorted files line by line. That’s the whole vibe, bestie. 🫢

When FILE1 or FILE2 (not both) is -, read standard input. Literally one of them can be -, but not both β€” keep it balanced. 🌈

With no options, produce three-column output. Column one contains lines unique to FILE1, column two contains lines unique to FILE2, and column three contains lines common to both files. Three columns, zero chaos. πŸ’…


✨ OPTIONS ✨

  • -1 β€” suppress column 1 (lines unique to FILE1). Bye-bye, first column. πŸ‘‹
  • -2 β€” suppress column 2 (lines unique to FILE2). Column two? Not today. πŸ™ˆ
  • -3 β€” suppress column 3 (lines that appear in both files). The shared lines are getting muted. πŸ”‡
  • --output-delimiter <STR> β€” separate columns with STR. Pick your separator, make it cute. πŸŽ€
  • -z, --zero-terminated β€” line delimiter is NUL, not newline. NGL, very NUL of her. πŸ’€
  • --total β€” output a summary. She’s giving receipts. 🧾
  • --check-order β€” check that the input is correctly sorted, even if all input lines are pairable. Safety first, bestie. πŸ”₯
  • --nocheck-order β€” do not check that the input is correctly sorted. Living dangerously, I see. 😭
  • -h, --help β€” Print help. The classic β€œhelp me help you.” 🫢
  • -V, --version β€” Print version. Version check, slay. πŸ‘‘
  • <FILE1> β€” the first file slot, bestie. Feed her a sorted file, or - for standard input if FILE2 isn’t also -. 🌸
  • <FILE2> β€” the second file slot. Same energy: sorted file, or - for standard input if FILE1 isn’t also -. πŸ¦‹

πŸ‘‘ VERSION πŸ‘‘

v(uutils coreutils) 0.12.0 β€” that’s the version, bestie. πŸ’–


xoxo, your terminal bestie πŸ’… β€” signed off by the v(uutils coreutils) girlies, version 0.12.0, dated 2026-09-17 βœ¨πŸŽ€

πŸ“¦ where this page comes from