macOS
brew install tofrodoslocal Homebrew formula metadata
brew
Converts DOS UNIX text files, alias tofromdos. Version 2.1.1 via Homebrew; verified 2026-04-20.
install
brew install tofrodoslocal Homebrew formula metadata
sudo apt install tofrodosDebian stable package indexes · tofrodos · source: deb.debian.org
sudo dnf install tofrodosFedora Rawhide package metadata · tofrodos · source: dl.fedoraproject.org
overview
Converts DOS UNIX text files, alias tofromdos
history
Tofrodos is a small command-line text conversion package for moving files between DOS/Windows CRLF line endings and Unix LF line endings.
The upstream README describes Tofrodos as two programs, fromdos and todos, that convert ASCII and UTF-8 text files between DOS and Unix newline formats. It is intentionally portable across Unix-like systems, Windows consoles, and DOS-family environments.
The package keeps the older Unix utility convention of behavior-by-command-name: the same program can be installed or renamed as fromdos, todos, dos2unix, or unix2dos, and it chooses the conversion direction from the invoked name.
The upstream documentation points Linux users to distribution repositories, and the package record shows it available through Homebrew, Debian, Ubuntu, and Fedora/DNF.
Typical use is direct shell conversion of one or more text files, wildcard batches, or pipeline use such as converting output before comparing it with diff.
Tofrodos matters as a tiny packaging-era compatibility utility: it solves the recurring CRLF/LF problem without pulling in a larger editor or VCS workflow, and its fromdos/todos command names are easy to script.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
fromdos | cli | global executable | |
todos | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/ChristopherHeng/tofrodos
install metadata
| Package key | brew:tofrodos |
|---|---|
| Version | 2.1.1 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/tofrodos |
| Homepage | https://github.com/ChristopherHeng/tofrodos |
| Repository | https://github.com/ChristopherHeng/tofrodos |
| Upstream docs | https://github.com/ChristopherHeng/tofrodos#readme |
| License | GPL-2.0-only |
| Source archive | https://github.com/ChristopherHeng/tofrodos/archive/refs/tags/2.1.1.tar.gz |
| Last updated | 2026-04-20T14:22:41-04:00 |
| Pulse | updated |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | tofrodos |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
tofrodos 1.7.13+ds-6
Converts DOS <-> Unix text files, alias tofromdos
https://www.thefreecountry.com/tofrodos/index.shtml
sudo apt install tofrodostofrodos 1.7.13+ds-6
Converts DOS <-> Unix text files, alias tofromdos
https://www.thefreecountry.com/tofrodos/index.shtml
sudo apt install tofrodostofrodos 1.7.13-27.fc43
Converts text files between MSDOS and Unix file formats
http://www.thefreecountry.com/tofrodos/
sudo dnf install tofrodossource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.