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

14 lines
295 B
Markdown
Raw Normal View History

# unix2mac
> 将 Unix 样式的行尾更改为 macOS 样式。
> 用 CR 替换 LF.
> 更多信息:<https://manned.org/unix2mac>.
- 更改文件的行尾:
`unix2mac {{文件名}}`
- 使用 macOS 样式的行尾创建副本:
`unix2mac {{[-n|--newfile]}} {{文件名}} {{新文件名}}`