add new chinese translations

This commit is contained in:
2024-12-30 15:25:56 +08:00
parent a850046d7b
commit 0d798759fd
5418 changed files with 105800 additions and 7052 deletions

32
pages.zh/osx/cat.md Normal file
View File

@@ -0,0 +1,32 @@
# cat
> 打印和连接文件。
> 更多信息:<https://keith.github.io/xcode-man-pages/cat.1.html>。
- 将文件的内容打印到 `stdout`
`cat {{path/to/file}}`
- 将多个文件连接成一个输出文件:
`cat {{path/to/file1 path/to/file2 ...}} > {{path/to/output_file}}`
- 将多个文件追加到输出文件:
`cat {{path/to/file1 path/to/file2 ...}} >> {{path/to/output_file}}`
- 将文件的内容复制到输出文件,不进行缓冲:
`cat -u {{/dev/tty12}} > {{/dev/tty13}}`
-`stdin` 写入文件:
`cat - > {{path/to/file}}`
- 为所有输出行编号:
`cat -n {{path/to/file}}`
- 显示不可打印和空白字符如果是非ASCII字符则带有 `M-` 前缀):
`cat -v -t -e {{path/to/file}}`