mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-09-08 22:13:43 +02:00
dos2unix: add page
This commit is contained in:
parent
bd29cfbb23
commit
2b0076050b
1 changed files with 12 additions and 0 deletions
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…
Add table
Reference in a new issue