todos

Converts DOS <-> Unix text files, alias tofromdos

Install

All systems
curl cmd.cat/todos.sh
Debian Debian
apt-get install tofrodos
Ubuntu
apt-get install tofrodos
image/svg+xml Kali Linux
apt-get install tofrodos
Fedora
dnf install tofrodos
Windows (WSL2)
sudo apt-get update sudo apt-get install tofrodos
OS X
brew install tofrodos
Raspbian
apt-get install tofrodos

tofrodos

Converts DOS <-> Unix text files, alias tofromdos

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.