DarkMatter in Cyberspace
  • Home
  • Categories
  • Tags
  • Archives

Line Terminator Conversion between Unix and Windows Format on Ubuntu


  1. Install: sudo apt-get install tofrodos

  2. unix -> dos: todos ;

    dos -> unix: fromdos

You can do the same thing with vi: open that file

:set ff=dos/unix

or use ":set ff" to query current format.

Verified on Linux Mint 14 Xfce.



Published

Dec 11, 2013

Last Updated

Dec 11, 2013

Category

Tech

Tags

  • convention 2
  • dos 3
  • Unix 15

Contact

  • Powered by Pelican. Theme: Elegant by Talha Mansoor