mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 01:22:09 +02:00
dos2unix, unix2dos, mac2unix, unix2mac: use consistent naming
Apply suggestions from code review Co-authored-by: Zlatan Vasović <zlatanvasovic@gmail.com>
This commit is contained in:
parent
2074d8ca64
commit
d795b6a864
4 changed files with 8 additions and 8 deletions
|
@ -1,12 +1,12 @@
|
|||
# dos2unix
|
||||
|
||||
> Change dos-style line endings to unix-style.
|
||||
> Change DOS-style line endings to Unix-style.
|
||||
> Replaces CRLF with CR.
|
||||
|
||||
- Change line endings of a file:
|
||||
|
||||
`dos2unix {{filename}}`
|
||||
|
||||
- Create a copy with unix-style line endings:
|
||||
- Create a copy with Unix-style line endings:
|
||||
|
||||
`dos2unix -n {{filename}} {{new_filename}}`
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
# mac2unix
|
||||
|
||||
> Change mac-style line endings to unix-style.
|
||||
> Change macOS-style line endings to Unix-style.
|
||||
> Replaces LF with CR.
|
||||
|
||||
- Change line endings of a file:
|
||||
|
||||
`mac2unix {{filename}}`
|
||||
|
||||
- Create a copy with unix-style line endings:
|
||||
- Create a copy with Unix-style line endings:
|
||||
|
||||
`mac2unix -n {{filename}} {{new_filename}}`
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
# unix2dos
|
||||
|
||||
> Change unix-style line endings to dos-style.
|
||||
> Change Unix-style line endings to DOS-style.
|
||||
> Replaces CR with CRLF.
|
||||
|
||||
- Change line endings of a file:
|
||||
|
||||
`unix2dos {{filename}}`
|
||||
|
||||
- Create a copy with dos-style line endings:
|
||||
- Create a copy with DOS-style line endings:
|
||||
|
||||
`unix2dos -n {{filename}} {{new_filename}}`
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
# unix2mac
|
||||
|
||||
> Change unix-style line endings to mac-style.
|
||||
> Change Unix-style line endings to macOS-style.
|
||||
> Replaces CR with LF.
|
||||
|
||||
- Change line endings of a file:
|
||||
|
||||
`unix2mac {{filename}}`
|
||||
|
||||
- Create a copy with mac-style line endings:
|
||||
- Create a copy with macOS-style line endings:
|
||||
|
||||
`unix2mac -n {{filename}} {{new_filename}}`
|
||||
|
|
Loading…
Add table
Reference in a new issue