macOS
brew install dos2unixlocal Homebrew formula metadata
sudo port install dos2unixMacPorts ports tree · textproc/dos2unix/Portfile · Quelle: api.github.com
brew
Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für dos2unix in AI-Agent-Workflows.
Installation
brew install dos2unixlocal Homebrew formula metadata
sudo port install dos2unixMacPorts ports tree · textproc/dos2unix/Portfile · Quelle: api.github.com
sudo apk add dos2unixAlpine Linux edge package indexes · dos2unix · Quelle: dl-cdn.alpinelinux.org
sudo apt install dos2unixDebian stable package indexes · dos2unix · Quelle: deb.debian.org
sudo dnf install dos2unixFedora Rawhide package metadata · dos2unix · Quelle: dl.fedoraproject.org
nix profile install nixpkgs#dos2unixnixpkgs package indexes · pkgs/by-name/do/dos2unix/package.nix · Quelle: api.github.com
sudo pacman -S dos2unixArch Linux sync databases · dos2unix · Quelle: geo.mirror.pkgbuild.com
sudo zypper install dos2unixopenSUSE Tumbleweed package metadata · dos2unix · Quelle: download.opensuse.org
choco install dos2unixChocolatey community package catalog · dos2unix · Quelle: community.chocolatey.org
scoop install main/dos2unixScoop official bucket manifest trees · bucket/dos2unix.json · Quelle: api.github.com
winget install --id waterlan.dos2unix -eWindows Package Manager source index · waterlan.dos2unix · Quelle: cdn.winget.microsoft.com
Überblick
Convert text between DOS, UNIX, and Mac formats
Verlauf
dos2unix is the long-running command-line utility family for converting plain-text line endings among DOS/Windows CRLF, Unix LF, and classic Mac CR formats. Its package-nerd appeal is that it solves one of the oldest cross-platform source-tree annoyances with tiny, scriptable tools that became familiar on Unix, Linux, Windows, DOS, Cygwin, and OS/2.
The current dos2unix package is an Erwin Waterlander-maintained update of Benjamin Lin's dos2unix and unix2dos implementations. The official history traces the lineage back to John Birchfield's 1989 versions, Benjamin Lin's 1995 rewrite, Bernd Johannes Wuebben's 1998 Mac-to-Unix addition, and Waterlander's 2010 Unix-to-Mac addition.
The Waterlander package bundled the formerly separate dos2unix and unix2dos packages into a single dos2unix release at version 5.0 in 2010. Later milestones included UTF-16 support in version 6.0 in 2012 and a major cleanup plus test suite in version 7.0 in 2014.
Benjamin Lin's implementations were distributed through SunSITE.unc.edu, later MetaLab and ibiblio, and became part of Linux distributions including Red Hat, SUSE, Gentoo, and others. The Homebrew source facts also list broad packaging across apk, Debian, Fedora, MacPorts, Nix, pacman, Scoop, Ubuntu, winget, and zypper.
The official homepage continues to publish source archives and ready-to-run binaries for DOS, Windows, and OS/2 alongside Unix-style documentation, reflecting a tool whose user base spans old and modern operating systems.
The package includes dos2unix, unix2dos, mac2unix, and unix2mac commands. It is commonly used in source checkouts, release scripts, build systems, and data-cleanup pipelines when files cross Windows and Unix-like environments.
Modern dos2unix does more than swap CRLF and LF: official documentation covers in-place and paired conversion modes, binary-file skipping, symbolic-link behavior, Unicode UTF-16 to UTF-8 conversion, byte-order-mark handling, recursive conversion recipes, and translated manuals.
dos2unix is a classic small package that persists because text line endings remain a real interoperability boundary. Package maintainers care about it because it is tiny, has no credential or daemon surface, and shows up wherever archives, generated files, or vendored code cross platform conventions.
Its significance is also historical: it preserves SunOS/Solaris-style behavior while adjusting defaults for practical Unix packaging, such as in-place conversion by default in this implementation.
Sicherheitslage
narrow executable package without higher-risk signals.
grün Risiko · niedrig Konfidenz · appliance
Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.
Executables
| Befehl | Art | Sichtbarkeit | Hinweis |
|---|---|---|---|
dos2unix | cli | globales Executable | |
mac2unix | cli | globales Executable | |
unix2dos | cli | globales Executable | |
unix2mac | cli | globales Executable |
Aktualität
Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.
https://waterlander.net/dos2unix/
Installationsmetadaten
| Paketschlüssel | brew:dos2unix |
|---|---|
| Version | 7.5.6 |
| Paketmanager | Homebrew |
| Paketmanager-Seite | https://formulae.brew.sh/formula/dos2unix |
| Homepage | https://waterlander.net/dos2unix/ |
| Repository | https://git.code.sf.net/p/dos2unix/dos2unix |
| Upstream-Dokumentation | https://dos2unix.sourceforge.io/dos2unix/man1/dos2unix.htm |
| Lizenz | BSD-2-Clause |
| Quellarchiv | https://waterlander.net/dos2unix/files/dos2unix-7.5.6.tar.gz |
| Zuletzt aktualisiert | 2026-06-27T04:30:36Z |
| Pulse | updated |
| Bottle | verfügbar (auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | nicht definiert |
| Dienst | keiner deklariert |
Registry-Fakten
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | dos2unix |
| Aliases |
|
| 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-Datenbank-Treffer
Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.
dos2unix 7.5.2-1
convert text file line endings between CRLF and LF
https://waterlan.home.xs4all.nl/dos2unix.html
sudo apt install dos2unixdos2unix
nix profile install nixpkgs#dos2unixdos2unix 7.5.1-1
convert text file line endings between CRLF and LF
https://waterlan.home.xs4all.nl/dos2unix.html
sudo apt install dos2unixdos2unix 7.5.5-r0
Text file format converters
https://waterlan.home.xs4all.nl/dos2unix.html
sudo apk add dos2unixdos2unix-doc 7.5.5-r0
Text file format converters (documentation)
https://waterlan.home.xs4all.nl/dos2unix.html
sudo apk add dos2unix-docdos2unix 7.5.5-1.fc45
Text file format converters
https://waterlan.home.xs4all.nl/dos2unix.html
sudo dnf install dos2unixdos2unix 7.5.6-1
Text file format converter
https://waterlan.home.xs4all.nl/dos2unix.html
sudo pacman -S dos2unixdos2unix 7.5.6-1.1
Text converters to and from DOS/MAC to UNIX
https://waterlander.net/dos2unix/
sudo zypper install dos2unixdos2unix
sudo port install dos2unixdos2unix
choco install dos2unixmain/dos2unix
scoop install main/dos2unixwaterlan.dos2unix
winget install --id waterlan.dos2unix -eQuellspur
Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.
View the package source record on GitHub.