mac2unix: add page
This commit is contained in:

committed by
Starbeamrainbowlabs

parent
2b0076050b
commit
7157f0a825
12
pages/linux/mac2unix.md
Normal file
12
pages/linux/mac2unix.md
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
# mac2unix
|
||||||
|
|
||||||
|
> Change mac-style line endings to unix-style.
|
||||||
|
> Replaces LF with CR.
|
||||||
|
|
||||||
|
- Change line endings of a file:
|
||||||
|
|
||||||
|
`mac2unix {{filename}}`
|
||||||
|
|
||||||
|
- Create a copy with unix-style line endings:
|
||||||
|
|
||||||
|
`mac2unix -n {{filename}} {{new_filename}}`
|
Reference in New Issue
Block a user