Automic VaultAutomic Vault

brew

使用 Homebrew, apt, dnf 安装 tofrodos

查看 tofrodos 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install tofrodos

local Homebrew formula metadata

Linux

Debian apt已验证 · 92%
sudo apt install tofrodos

Debian stable package indexes · tofrodos · 来源: deb.debian.org

Fedora dnf已验证 · 92%
sudo dnf install tofrodos

Fedora Rawhide package metadata · tofrodos · 来源: dl.fedoraproject.org

概览

软件包摘要

Converts DOS UNIX text files, alias tofromdos

命令和别名

  • fromdos
  • todos

历史

项目历史与用法

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.

时间线

  • Current: Distributed as fromdos and todos for DOS-to-Unix and Unix-to-DOS newline conversion.
  • Current: Packaged by Homebrew, Debian, Ubuntu, and Fedora/DNF according to the input package-manager facts.

Related projects

  • dos2unix and unix2dos are related command names and behaviors explicitly supported by Tofrodos.
  • The package belongs to the same niche as other newline-normalization tools used in cross-platform source trees.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
fromdoscli全局可执行文件
todoscli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-10
管理器版本2.1.1
管理器更新时间2026-04-20
本地数据OK
上游当前
检测到的最新版本2.1.1

https://github.com/ChristopherHeng/tofrodos

  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键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
Pulseupdated
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nametofrodos
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

tofrodos 1.7.13+ds-6

Converts DOS <-> Unix text files, alias tofromdos

https://www.thefreecountry.com/tofrodos/index.shtml

sudo apt install tofrodos
  • Section: utils
  • Architecture: amd64
  • 1 依赖
  • normalized package name match
  • 匹配方式:Tofrodos
Debian stable package indexes · deb.debian.org · Debian stable package indexes: tofrodos from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Ubuntu apt95%

tofrodos 1.7.13+ds-6

Converts DOS <-> Unix text files, alias tofromdos

https://www.thefreecountry.com/tofrodos/index.shtml

sudo apt install tofrodos
  • Section: universe/utils
  • Architecture: amd64
  • 1 依赖
  • normalized package name match
  • 匹配方式:Tofrodos
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: tofrodos from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
dnf95%

tofrodos 1.7.13-27.fc43

Converts text files between MSDOS and Unix file formats

http://www.thefreecountry.com/tofrodos/

sudo dnf install tofrodos
  • License: GPL-2.0-only
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: tofrodos
  • 2 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Tofrodos
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: tofrodos from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment