From 2b0076050b5f1cbb729f4e4b5823a0d9e916af17 Mon Sep 17 00:00:00 2001 From: fejx Date: Wed, 6 May 2020 21:40:22 +0200 Subject: [PATCH] dos2unix: add page --- pages/linux/dos2unix.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 pages/linux/dos2unix.md diff --git a/pages/linux/dos2unix.md b/pages/linux/dos2unix.md new file mode 100644 index 0000000000..38100a0671 --- /dev/null +++ b/pages/linux/dos2unix.md @@ -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}}`