comm | |
Author: | Lee E. McMahon |
Developer: | AT&T Bell Laboratories, Richard Stallman, David MacKenzie |
Programming Language: | C |
Operating System: | Unix, Unix-like, Plan 9, Inferno |
Platform: | Cross-platform |
Genre: | Command |
License: | coreutils GPLv3+ |
The command in the Unix family of computer operating systems is a utility that is used to compare two files for common and distinct lines. is specified in the POSIX standard. It has been widely available on Unix-like operating systems since the mid to late 1980s.
Written by Lee E. McMahon, first appeared in Version 4 Unix.[1]
The version of bundled in GNU coreutils was written by Richard Stallman and David MacKenzie.[2]
reads two files as input, regarded as lines of text. outputs one file, which contains three columns. The first two columns contain lines unique to the first and second file, respectively. The last column contains lines common to both. This functionally is similar to .
Columns are typically distinguished with the