您的位置:首页 > 编程语言 > PHP开发

cat - concatenate files and print on the standard output

2016-10-11 09:21 501 查看
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.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  linux man cat
相关文章推荐