tldr/pages/linux/unix2dos.md
fejx 2522bce7c2 dos2unix, unix2dos, mac2unix, unix2mac: rephrase wording in first example
Adding 'the' is more accurate because it's *all* of the line endings that get replaced, not just *some* of them.

Apply suggestions from code review

Co-authored-by: Starbeamrainbowlabs <sbrl@starbeamrainbowlabs.com>
2020-05-13 00:52:23 +01:00

238 B

unix2dos

Change Unix-style line endings to DOS-style. Replaces CR with CRLF.

  • Change the line endings of a file:

unix2dos {{filename}}

  • Create a copy with DOS-style line endings:

unix2dos -n {{filename}} {{new_filename}}