dos2unix, unix2dos, mac2unix, unix2mac: use consistent naming

Apply suggestions from code review

Co-authored-by: Zlatan Vasović <zlatanvasovic@gmail.com>
client-spec/clarity
fejx 2020-05-10 15:12:37 +02:00 committed by Starbeamrainbowlabs
parent 7396902267
commit cf1b9177b7
4 changed files with 8 additions and 8 deletions

View File

@ -1,12 +1,12 @@
# dos2unix # dos2unix
> Change dos-style line endings to unix-style. > Change DOS-style line endings to Unix-style.
> Replaces CRLF with CR. > Replaces CRLF with CR.
- Change line endings of a file: - Change line endings of a file:
`dos2unix {{filename}}` `dos2unix {{filename}}`
- Create a copy with unix-style line endings: - Create a copy with Unix-style line endings:
`dos2unix -n {{filename}} {{new_filename}}` `dos2unix -n {{filename}} {{new_filename}}`

View File

@ -1,12 +1,12 @@
# mac2unix # mac2unix
> Change mac-style line endings to unix-style. > Change macOS-style line endings to Unix-style.
> Replaces LF with CR. > Replaces LF with CR.
- Change line endings of a file: - Change line endings of a file:
`mac2unix {{filename}}` `mac2unix {{filename}}`
- Create a copy with unix-style line endings: - Create a copy with Unix-style line endings:
`mac2unix -n {{filename}} {{new_filename}}` `mac2unix -n {{filename}} {{new_filename}}`

View File

@ -1,12 +1,12 @@
# unix2dos # unix2dos
> Change unix-style line endings to dos-style. > Change Unix-style line endings to DOS-style.
> Replaces CR with CRLF. > Replaces CR with CRLF.
- Change line endings of a file: - Change line endings of a file:
`unix2dos {{filename}}` `unix2dos {{filename}}`
- Create a copy with dos-style line endings: - Create a copy with DOS-style line endings:
`unix2dos -n {{filename}} {{new_filename}}` `unix2dos -n {{filename}} {{new_filename}}`

View File

@ -1,12 +1,12 @@
# unix2mac # unix2mac
> Change unix-style line endings to mac-style. > Change Unix-style line endings to macOS-style.
> Replaces CR with LF. > Replaces CR with LF.
- Change line endings of a file: - Change line endings of a file:
`unix2mac {{filename}}` `unix2mac {{filename}}`
- Create a copy with mac-style line endings: - Create a copy with macOS-style line endings:
`unix2mac -n {{filename}} {{new_filename}}` `unix2mac -n {{filename}} {{new_filename}}`