From 7bbe27b5d112582293b43720f0e6ed8a3d2d0f5d Mon Sep 17 00:00:00 2001 From: Kalock Date: Sat, 29 Dec 2018 07:59:39 +0800 Subject: [PATCH] Update Translation for Chinese (#22297) --- guide/chinese/bash/bash-cat/index.md | 76 ++++++++++++++-------------- 1 file changed, 39 insertions(+), 37 deletions(-) diff --git a/guide/chinese/bash/bash-cat/index.md b/guide/chinese/bash/bash-cat/index.md index 2055add469..8482d45307 100644 --- a/guide/chinese/bash/bash-cat/index.md +++ b/guide/chinese/bash/bash-cat/index.md @@ -1,39 +1,41 @@ --- title: Bash Cat -localeTitle: 猛击猫 ---- ## 猛击猫 - -Cat是Unix操作系统中最常用的命令之一。 - -Cat用于按顺序读取文件并将其打印到标准输出。 这个名字是从它的功能,骗子**猫** enate文件导出。 - -### 用法 - -```bash -cat [options] [file_names] -``` - -最常用的选项: - -* `-b` ,数字非空白输出行 -* `-n` ,对所有输出行进行编号 -* `-s` ,挤压多个相邻的空白行 -* `-v` ,显示非打印字符,标签和行尾字符除外 - -### 例 - -在终端中打印file.txt的内容: - -```bash -cat file.txt -``` - -连接两个文件的内容并在终端中显示结果: - -```bash -cat file1.txt file2.txt -``` - -#### 更多信息: - -* 维基百科:https://en.wikipedia.org/wiki/Cat\_(Unix) \ No newline at end of file +localeTitle: Bash Cat +--- + +## Cat + +Cat是Unix操作系统中最常用的命令之一。 + +Cat用于按顺序读取文件并将其打印到标准输出。 这个名字是从它的功能(con**cat**enate files)而来。 + +### 用法 + +```bash +cat [options] [file_names] +``` + +最常用的选项: + +* `-b` ,数字非空白输出行 +* `-n` ,对所有输出行进行编号 +* `-s` ,挤压多个相邻的空白行 +* `-v` ,显示非打印字符,标签和行尾字符除外 + +### 例子 + +在终端机打印file.txt的内容: + +```bash +cat file.txt +``` + +连接两个文件的内容并在终端机中显示结果: + +```bash +cat file1.txt file2.txt +``` + +#### 更多信息: + +* 维基百科:https://en.wikipedia.org/wiki/Cat\_(Unix)