tofrodos - Converts DOS <-> Unix text files, alias tofromdos

Distribution: Ubuntu 16.04 LTS (Xenial Xerus)
Repository: Ubuntu Universe i386
Package name: tofrodos
Package version: 1.7.13+ds
Package release: 2ubuntu1
Package architecture: i386
Package type: deb
Installed size: 50 B
Download size: 19.91 KB
Official Mirror:
DOS text files traditionally have CR/LF (carriage return/line feed) pairs as their new line delimiters while Unix text files traditionally have LFs (line feeds) to terminate each line. Tofrodos comprises one program, "fromdos" alias "todos", which converts text files to and from these formats. Use "fromdos" to convert DOS text files to the Unix format, and "todos" to convert Unix text files to the DOS format.




    Source package: tofrodos

    Install Howto

    1. Update the package index:
      # sudo apt-get update
    2. Install tofrodos deb package:
      # sudo apt-get install tofrodos


    • /usr/bin/fromdos
    • /usr/bin/todos
    • /usr/share/doc-base/tofrodos
    • /usr/share/doc/tofrodos/changelog.Debian.gz
    • /usr/share/doc/tofrodos/copyright
    • /usr/share/doc/tofrodos/readme.txt.gz
    • /usr/share/doc/tofrodos/tofrodos.html
    • /usr/share/man/man1/fromdos.1.gz
    • /usr/share/man/man1/todos.1.gz


    2015-10-29 - Chris J Arges <> tofrodos (1.7.13+ds-2ubuntu1) xenial; urgency=low * Merge from Debian unstable. No remaining changes.

    2015-10-28 - Markus Koschany <> tofrodos (1.7.13+ds-2) unstable; urgency=medium * Vcs-Browser: Switch to cgit and https. * Declare compliance with Debian Policy 3.9.6. * Update copyright years. * Simplify get-orig-source target. Use Files-Excluded mechanism. This also fixes a build failure with older versions of dpkg-dev. Thanks to Chris J Arges for the report. (Closes: #728991)

    2013-11-07 - Chris J Arges <> tofrodos (1.7.13+ds-1ubuntu1) trusty; urgency=low * Fix a FTBFS due to dpkg-parsechangelog failure.

    2013-10-29 - Markus Koschany <> tofrodos (1.7.13+ds-1) unstable; urgency=low [ Alexander Reichle-Schmehl ] * Fix last changelog entry, remove the "NOT RELEASED YET" entry. (Closes: #645830) Thanks to Josh Triplett for noticing! [ Markus Koschany ] * New Maintainer. (Closes: #726553) * New upstream release. (Closes: #692421) - Drop FTBFS_non-linux.patch. Merged upstream. * Switch to source format 3.0. * Bump compat level to 9 and require debhelper >= 9. * Bump Standards-Version to 3.9.5, no changes. * Improve watch file. Thanks to Bart Martens. * Drop README.source and build dependency on quilt. Source format 3.0 uses quilt by default. * Drop NEWS file because it is obsolete. * Register tofrodos.html with doc-base. * Switch to dh sequencer. * Add a get-orig-source target to debian/rules. * Enable all hardening build flags. * debian/control: - Maintain tofrodos in a Git repository. Change VCS-fields accordingly. - Drop Conflicts field in debian/control. It is obsolete. * Update debian/copyright to copyright format 1.0.

    2011-10-18 - Alexander Reichle-Schmehl <> tofrodos (1.7.9.debian.1-1) unstable; urgency=low * Fix Vcs-Svn header in debian/control * New upstream release * Add recommended targets build-arch and build-indep to debian/rules * Enable LFS support (Closes: #616439), thanks to Lionel Elie Mamane for the hint * Bump standards to 3.9.2 (no changes needed) * Apply patch from Guillem Jover to fix build on linux arches (drop patches/FTBFS_kfreebsd.diff, new patch is patches/FTBFS_non-linux.diff). Also thanks to Svante Signell for his inital work! (Closes: #622365)

    2010-01-21 - Alexander Reichle-Schmehl <> tofrodos (1.7.8.debian.1-2) unstable; urgency=low * Change maintainer name * Drop dos2unix and unix2dos symlinks, to allow introduction of original dos2unix package. (remove dh_link call and add NEWS about that) * Add README.source * Bump standards version to 3.8.3 (no further changes needed)

    2008-05-28 - Alexander Schmehl <> tofrodos (1.7.8.debian.1-1) unstable; urgency=low * New upstream release

    2008-04-08 - Alexander Schmehl <> tofrodos (1.7.7.debian.1-2) unstable; urgency=low * New upstream release * Fixed watchfile to mangle version correctly CLARIFICATION added after this upload got accepted: By accident this new upstream release got the package revision -2, but the orig.source was indeed included in this upload, so the package got accepted before I noticed this error. So if you wonder where 1.7.7.debian.1-1 is: There is none and will never be. Sorry.

    2008-02-24 - Alexander Schmehl <> tofrodos (1.7.6.debian.1-1) unstable; urgency=low * New Maintainer (Closes: #467287) * debian/control: - Moved Homepage semiheader to new one - Added Vcs-Svn and Vcs-Browser header - Bumped standards version to 3.7.3 (no changes needed) * Removed precompiled stuff from tarball (Closes: #126777) - Added explanation to debian/copyright - Added version mangle to debian/watch * Replaced debian/changelog by one in the more common based on the dh_make template * install HTML documentation * moved to quilt instead of dpatch