<<back

Unix tips and tricks

Conversion between MS-Dos/Windows and Unix

Tired of the

From the command line shell

Use the command

dos2unix [[options]] [dosfile] [newunixfile]

In emacs

When saving a DOS file that you want to convert to Unix format type
C-f Ret f iso-8859-1-unix Ret

.


Jesper Rasmussen, Department of Mathematics, Technical University of Denmark
Last modified: Mon Jan 9 14:53:09 MET 2006