Convert DOS Newlines CR-LF to Unix/Linux Format

HowTo: UNIX / Linux Convert DOS Newlines CR-LF to Unix/Linux Format article tells how you do that conversion with command line tools. Sure editors like Notepad++ can do it also (Edit-EOL Conversion-UNIX/OSX format), but there are cases where you don’t have such tools on hand when you need the conversion most.

One of the simplest method when system does not have dos2unix utility is to convert Dos to Unix using tr command:

tr -d 'r' < input.file > output.file

1 Comment

  1. Nelly54737 says:

    Have you considered including several social bookmarking buttons to these blogs. At the very least for bebo.

    Reply

Leave a Reply to Nelly54737 Cancel reply

Your email address will not be published. Required fields are marked *

*

*