mirror of https://github.com/CrimsonTome/tldr.git
dos2unix, unix2dos, mac2unix, unix2mac: use consistent naming
Apply suggestions from code review Co-authored-by: Zlatan Vasović <zlatanvasovic@gmail.com>client-spec/clarity
parent
7396902267
commit
cf1b9177b7
|
@ -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…
Reference in New Issue