mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-09-20 08:17:53 +03:00
dos2unix: add page
This commit is contained in:
parent
bd29cfbb23
commit
2b0076050b
12
pages/linux/dos2unix.md
Normal file
12
pages/linux/dos2unix.md
Normal file
@ -0,0 +1,12 @@
|
||||
# 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}}`
|
Loading…
Reference in New Issue
Block a user