diff --git a/pages/linux/mac2unix.md b/pages/linux/mac2unix.md new file mode 100644 index 0000000000..0d6647ca12 --- /dev/null +++ b/pages/linux/mac2unix.md @@ -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}}`