📄 cat.doc
字号:
`cat': Concatenate and write files
==================================
`cat' copies each FILE (`-' means standard input), or standard input
if none are given, to standard output. Synopsis:
cat [OPTION] [FILE]...
The program accepts the following options.
`--help'
Print a usage message listing all available options, then exit
successfully.
`--version'
Print the version number, then exit successfully.
`-A'
`--show-all'
Equivalent to `-vET'.
`-B'
`--binary'
On MS-DOS only, causes `cat' read and write the files in DOS binary
mode. By default, `cat' on MS-DOS uses binary mode only when
standard output is redirected to a file or a pipe; this option
overrides that. Binary file I/O is used so that the files retain
their format (Unix text as opposed to DOS text and binary),
because `cat' is frequently used as file copying program. Some
options (see below) cause `cat' read and write files in text mode
because then the original file contents aren't important (e.g.,
when lines are numbered by `cat', or when line endings should be
marked). This is so these options work as MS-DOS users would
expect; for example, DOS text files have their lines end with
<CR-LF> pair of characters which won't be processed as an empty
line by `-b' unless the file is read in text mode.
`-b'
`--number-nonblank'
Number all nonblank output lines, starting with 1. On MS-DOS, this
option causes `cat' to read and write files in DOS text mode.
`-e'
Equivalent to `-vE'.
`-E'
`--show-ends'
Display a `$' after the end of each line. On MS-DOS, this option
causes `cat' to read and write files in DOS text mode.
`-n'
`--number'
Number all output lines, starting with 1. On MS-DOS, this option
causes `cat' to read and write files in DOS text mode.
`-s'
`--squeeze-blank'
Replace multiple adjacent blank lines with a single blank line. On
MS-DOS, this option causes `cat' to read and write files in DOS
text mode.
`-t'
Equivalent to `-vT'.
`-T'
`--show-tabs'
Display <TAB> characters as `^I'.
`-u'
Ignored; for Unix compatibility.
`-v'
`--show-nonprinting'
Display control characters except for <LFD> and <TAB> using `^'
notation and precede characters that have the high bit set with
`M-'. On MS-DOS, this option causes `cat' to read files and
standard input in DOS binary mode, so the <CR> characters at the
end of each line are also visible.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -