mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-19 02:55:43 +02:00
paste: add Chinese translation (#15399)
* paste: add zh translation * paste: sync link * paste: uppdate doc * Update pages.zh/common/paste.md Co-authored-by: Jack Lin <blueskyson1401@gmail.com> * Update pages.zh/common/paste.md Co-authored-by: Jack Lin <blueskyson1401@gmail.com> --------- Co-authored-by: Jack Lin <blueskyson1401@gmail.com>
This commit is contained in:
parent
e66f44d816
commit
ac077b607b
1 changed files with 24 additions and 0 deletions
24
pages.zh/common/paste.md
Normal file
24
pages.zh/common/paste.md
Normal file
|
@ -0,0 +1,24 @@
|
|||
# paste
|
||||
|
||||
> 合并文件行。
|
||||
> 更多信息:<https://www.gnu.org/software/coreutils/paste>.
|
||||
|
||||
- 将所有行合并为一行,使用 tab 作为分隔符:
|
||||
|
||||
`paste -s {{路径/到/文件}}`
|
||||
|
||||
- 使用指定的分隔符将所有行合并为一行:
|
||||
|
||||
`paste -s -d {{分隔符}} {{路径/到/文件}}`
|
||||
|
||||
- 并排合并两个文件,每个文件以 tab 分隔为单独的列:
|
||||
|
||||
`paste {{路径/到/文件1}} {{路径/到/文件2}}`
|
||||
|
||||
- 并排合并两个文件,每个文件以指定的分隔符分隔为单独的列:
|
||||
|
||||
`paste -d {{分隔符}} {{路径/到/文件1}} {{路径/到/文件2}}`
|
||||
|
||||
- 将两个文件中的所有行,交替合并:
|
||||
|
||||
`paste -d '\n' {{路径/到/文件1}} {{路径/到/文件2}}`
|
Loading…
Add table
Reference in a new issue