comm.1

来自「Unix操作系统minix 2.0源码」· 1 代码 · 共 60 行

1
60
字号


COMM(1)                   Minix Programmer's Manual                    COMM(1)


NAME
     comm - print lines common to two sorted files

SYNOPSIS
     comm [-123] file1 file2

OPTIONS

     -1   Suppress column 1 (lines present only in file1)

     -2   Suppress column 2 (lines present only in file2)

     -3   Suppress column 3 (lines present in both files)

EXAMPLES

     comm file1 file2    # Print all three columns

     comm -12 file1 file2
                         # Print only lines common to both files

DESCRIPTION

     Two sorted files are read  and  compared.   A  three  column  listing  is
     produced.   Files  only in file1 are in column 1; files only in file2 are
     in column 2; files common to both files are in column 3.  The file name -
     means stdin.

SEE ALSO
     cmp(1), diff(1), sort(1).






















                                                                             1

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?