mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00

Apply suggestions from code review Co-authored-by: Zlatan Vasović <zlatanvasovic@gmail.com>
12 lines
235 B
Markdown
12 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}}`
|