macOS
brew install tofrodoslocal Homebrew formula metadata
安装
brew install tofrodoslocal Homebrew formula metadata
sudo apt install tofrodosDebian stable package indexes · tofrodos · 来源: deb.debian.org
sudo dnf install tofrodosFedora Rawhide package metadata · tofrodos · 来源: dl.fedoraproject.org
概览
Converts DOS UNIX text files, alias tofromdos
历史
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.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
fromdos | cli | 全局可执行文件 | |
todos | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/ChristopherHeng/tofrodos
安装元数据
| 软件包键 | brew:tofrodos |
|---|---|
| 版本 | 2.1.1 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/tofrodos |
| 主页 | https://github.com/ChristopherHeng/tofrodos |
| 仓库 | https://github.com/ChristopherHeng/tofrodos |
| 上游文档 | https://github.com/ChristopherHeng/tofrodos#readme |
| 许可证 | GPL-2.0-only |
| 源码归档 | https://github.com/ChristopherHeng/tofrodos/archive/refs/tags/2.1.1.tar.gz |
| 最后更新 | 2026-04-20T14:22:41-04:00 |
| Pulse | updated |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| 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 |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
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 tofrodos来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.