mirror of https://github.com/CrimsonTome/tldr.git
13 lines
235 B
Markdown
13 lines
235 B
Markdown
|
# dos2unix
|
||
|
|
||
|
> 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:
|
||
|
|
||
|
`dos2unix -n {{filename}} {{new_filename}}`
|