Wednesday, November 7, 2007

Converting windows text files to unix (debian)

Simplest approach is to apt-get (on debian), either of the following applications:

1) dos2unix or
2) tofrodos and use the fromDos utility.

In windows lines end with both CR and LF
In linux, the lines end with LF only.


Post a Comment