[wplug] Converting Line Terminations

Brian Sammon brians at cs.cmu.edu
Thu Feb 7 12:10:02 EST 2002


> I end up having to work with a lot of text files on both *nix and WinNT.  
> The end of line terminations is differnt between the two of them.  Is there 
> a simple command I can use from a bash prompt that will convert between the 
> two?  (It's not a big deal, more just a slight annoyance.)

Depending on the distribution you're using, there should be a set of 
commands for this.

They are fromdos/todos or dos2unix/unix2dos.





More information about the wplug mailing list