tldr/pages/linux/mac2unix.md

13 lines
233 B
Markdown
Raw Normal View History

2020-05-08 09:45:59 +03:00
# 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}}`