cat - concatenate files and print on the standard output

来源:互联网 发布:黄连上清丸河南淘宝 编辑:程序博客网 时间:2024/05/01 09:59
SYNOPSIS
       cat [OPTION]... [FILE]...

DESCRIPTION
       Concatenate FILE(s), or standard input, to standard output.

       -A, --show-all
              equivalent to -vET

       -b, --number-nonblank
              number nonempty output lines, overrides -n
        显示行号(空白行不显示)
       -e     equivalent to -vE

       -E, --show-ends
              display $ at end of each line
        每行结束显示$
       -n, --number
              number all output lines
        显示行号(与-b选项区别)
       -s, --squeeze-blank
              suppress repeated empty output lines
        压缩连续空白行
       -t     equivalent to -vT

       -T, --show-tabs
              display TAB characters as ^I
        以^I显示tab
       -u     (ignored)

       -v, --show-nonprinting
              use ^ and M- notation, except for LFD and TAB
        显示非打印字符,使用^和M-表示,除了LFD和TAB
       --help display this help and exit

       --version
              output version information and exit

       With no FILE, or when FILE is -, read standard input.

EXAMPLES
       cat f - g
              Output f's contents, then standard input, then g's contents.

       cat    Copy standard input to standard output.

AUTHOR
       Written by Torbjorn Granlund and Richard M. Stallman.
0 0