Annotation of 43BSDReno/usr.bin/comm/comm.1, revision 1.1

1.1     ! root        1: .\" Copyright (c) 1989, 1990 The Regents of the University of California.
        !             2: .\" All rights reserved.
        !             3: .\"
        !             4: .\" Redistribution and use in source and binary forms are permitted provided
        !             5: .\" that: (1) source distributions retain this entire copyright notice and
        !             6: .\" comment, and (2) distributions including binaries display the following
        !             7: .\" acknowledgement:  ``This product includes software developed by the
        !             8: .\" University of California, Berkeley and its contributors'' in the
        !             9: .\" documentation or other materials provided with the distribution and in
        !            10: .\" all advertising materials mentioning features or use of this software.
        !            11: .\" Neither the name of the University nor the names of its contributors may
        !            12: .\" be used to endorse or promote products derived from this software without
        !            13: .\" specific prior written permission.
        !            14: .\" THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED
        !            15: .\" WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
        !            16: .\" MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
        !            17: .\"
        !            18: .\"     @(#)comm.1     6.4 (Berkeley) 7/24/90
        !            19: .\"
        !            20: .Dd July 24, 1990
        !            21: .Os BSD 4.4
        !            22: .Dt COMM 1
        !            23: .Sh NAME
        !            24: .Nm comm
        !            25: .Nd Select or reject lines common to two files
        !            26: .Sh SYNOPSIS
        !            27: .Nm comm
        !            28: .Op Fl 123
        !            29: .Ar file1 file2
        !            30: .Sh DESCRIPTION
        !            31: The
        !            32: .Nm comm
        !            33: utility reads
        !            34: .Ar file1
        !            35: and
        !            36: .Ar file2 ,
        !            37: which should be
        !            38: sorted lexically, and produces three text
        !            39: columns as output: lines only in
        !            40: .Ar file1 ;
        !            41: lines only in
        !            42: .Ar file2 ;
        !            43: and lines in both files.
        !            44: .Pp
        !            45: The filename
        !            46: .Sq Fl
        !            47: means the standard input.
        !            48: .Pp
        !            49: The following options are available:
        !            50: .Tw Ds
        !            51: .Tp Fl 1
        !            52: Suppress printing of column 1.
        !            53: .Tp Fl 2
        !            54: Suppress printing of column 2.
        !            55: .Tp Fl 3
        !            56: Suppress printing of column 3.
        !            57: .Tp
        !            58: .Pp
        !            59: Each column will have a number of tab characters prepended to it
        !            60: equal to the number of lower numbered columns that are being printed.
        !            61: For example, if column number two is being suppressed, lines printed
        !            62: in column number one will not have any tabs preceding them, and lines
        !            63: printed in column number three will have one.
        !            64: .Pp
        !            65: .Nm Comm
        !            66: assumes that the files are lexically sorted; all characters
        !            67: participate in line comparisons.
        !            68: .Pp
        !            69: .Nm Comm
        !            70: exits 0 on success, >0 if an error occurred.
        !            71: .Sh SEE ALSO
        !            72: .Xr cmp 1 ,
        !            73: .Xr diff 1 ,
        !            74: .Xr sort 1 ,
        !            75: .Xr uniq 1
        !            76: .Sh STANDARDS
        !            77: The
        !            78: .Nm comm
        !            79: function is expected to be POSIX 1003.2 compatible.

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.