分类: LINUX
2010-12-03 15:30:02
The dos2unix tool i available in the Debian / Ubuntu package called tofrodos. To install the packages just type:
aptitude install tofrodos
Once you have the tofrodos package installed you are able to use the dos2unix command from the command line, like this:
dos2unix dosfile.txt
After running the command all the historic and crappy windows newlines are gone.