1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00

dos2unix, mac2unix, unix2dos, unix2mac: add Chinese translations (#4168)

This commit is contained in:
Flex Zhong 2020-07-18 00:55:40 +08:00 committed by GitHub
parent c53783d537
commit 33ee5d40d1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 48 additions and 0 deletions

View file

@ -0,0 +1,12 @@
# dos2unix
> 将 DOS 样式的行尾更改为 Unix 样式.
> 用 CR 替换 CRLF.
- 更改文件的行尾:
`dos2unix {{文件名}}`
- 使用 Unix 样式的行尾创建副本:
`dos2unix -n {{文件名}} {{文件名}}`

View file

@ -0,0 +1,12 @@
# mac2unix
> 将 macOS 样式的行尾更改为 Unix 样式.
> 用 CR 替换 LF.
- 更改文件的行尾:
`mac2unix {{文件名}}`
- 使用 Unix 样式的行尾创建副本:
`mac2unix -n {{文件名}} {{新文件名}}`

View file

@ -0,0 +1,12 @@
# unix2dos
> 将 Unix 样式的行尾更改为 DOS 样式.
> 用 CRLF 替换 CR.
- 更改文件的行尾:
`unix2dos {{文件名}}`
- 使用 DOS 样式的行尾创建副本:
`unix2dos -n {{文件名}} {{新文件名}}`

View file

@ -0,0 +1,12 @@
# unix2mac
> 将 Unix 样式的行尾更改为 macOS 样式.
> 用 LF 替换 CR.
- 更改文件的行尾:
`unix2mac {{文件名}}`
- 使用 macOS 样式的行尾创建副本:
`unix2mac -n {{文件名}} {{新文件名}}`