dos2unix: add page

client-spec/clarity
fejx 2020-05-06 21:40:22 +02:00 committed by Starbeamrainbowlabs
parent 3d94f5d656
commit 33393f93e4
1 changed files with 12 additions and 0 deletions

12
pages/linux/dos2unix.md Normal file
View 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}}`