Automic VaultAutomic Vault

brew

dos2unix mit Homebrew, apk, chocolatey, apt, dnf, MacPorts, Nix, pacman, zypper, scoop, winget installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für dos2unix in AI-Agent-Workflows.

Installation

Weitere Installationsbefehle

macOS

Homebrewverifiziert · 100%
brew install dos2unix

local Homebrew formula metadata

MacPortsverifiziert · 94%
sudo port install dos2unix

MacPorts ports tree · textproc/dos2unix/Portfile · Quelle: api.github.com

Linux

Alpine Linux apkverifiziert · 92%
sudo apk add dos2unix

Alpine Linux edge package indexes · dos2unix · Quelle: dl-cdn.alpinelinux.org

Debian aptverifiziert · 92%
sudo apt install dos2unix

Debian stable package indexes · dos2unix · Quelle: deb.debian.org

Fedora dnfverifiziert · 92%
sudo dnf install dos2unix

Fedora Rawhide package metadata · dos2unix · Quelle: dl.fedoraproject.org

Nixverifiziert · 92%
nix profile install nixpkgs#dos2unix

nixpkgs package indexes · pkgs/by-name/do/dos2unix/package.nix · Quelle: api.github.com

Arch Linux pacmanverifiziert · 92%
sudo pacman -S dos2unix

Arch Linux sync databases · dos2unix · Quelle: geo.mirror.pkgbuild.com

openSUSE zypperverifiziert · 92%
sudo zypper install dos2unix

openSUSE Tumbleweed package metadata · dos2unix · Quelle: download.opensuse.org

Windows

Chocolateyverifiziert · 92%
choco install dos2unix

Chocolatey community package catalog · dos2unix · Quelle: community.chocolatey.org

Scoopverifiziert · 92%
scoop install main/dos2unix

Scoop official bucket manifest trees · bucket/dos2unix.json · Quelle: api.github.com

Windows Package Managerverifiziert · 92%
winget install --id waterlan.dos2unix -e

Windows Package Manager source index · waterlan.dos2unix · Quelle: cdn.winget.microsoft.com

Überblick

Paketzusammenfassung

Convert text between DOS, UNIX, and Mac formats

Befehle und Aliase

  • dos2unix
  • mac2unix
  • unix2dos
  • unix2mac

Verlauf

Projektgeschichte und Nutzung

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.

Projektgeschichte

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.

Adoptionsgeschichte

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.

Wie es verwendet wird

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.

Warum Paket-Nerds sich dafür interessieren

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.

Zeitleiste

  • 1989: John Birchfield creates early dos2unix/unix2dos versions modeled after SunOS/Solaris tools.
  • 1995: Benjamin Lin rewrites the implementations from scratch.
  • 1998: Mac-to-Unix conversion is added by Bernd Johannes Wuebben.
  • 2010: Erwin Waterlander adds Unix-to-Mac conversion and bundles dos2unix and unix2dos into one package as version 5.0.
  • 2012: Version 6.0 adds Unicode UTF-16 support.
  • 2014: Version 7.0 performs a major cleanup and adds a test suite.
  • 2026: Version 7.5.6 is published with the new waterlander.net homepage and updated manual translations.

Related projects

  • The package is related to the historical SunOS/Solaris dos2unix utilities it was modeled after, to Benjamin Lin's earlier public implementations, and to the paired unix2dos/mac2unix/unix2mac commands shipped in the same package.

Sicherheitslage

Risikostufe: grün

narrow executable package without higher-risk signals.

Risikoklassifikator

grün Risiko · niedrig Konfidenz · appliance

Warum

  • narrow executable package without higher-risk signals

Signale

  • metadata:no-higher-risk-signals

Installationsverhalten

  • In den Formelmetadaten ist kein Homebrew-Post-install-Hook erfasst.
  • Homebrew-Bottle-Metadaten sind für 6 Plattformziele verfügbar.

Empfohlene Prüfung

Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.

Executables

Installierte Executables

BefehlArtSichtbarkeitHinweis
dos2unixcliglobales Executable
mac2unixcliglobales Executable
unix2doscliglobales Executable
unix2maccliglobales Executable

Aktualität

Version und 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.

Seite generiert2026-07-10
Manager-Version7.5.6
Manager aktualisiert2026-06-27
lokale DatenOK
Upstreamnot checked
neueste erkannte Versionnicht erkannt

https://waterlander.net/dos2unix/

Installationsmetadaten

Paketmetadaten

Paketschlüsselbrew:dos2unix
Version7.5.6
PaketmanagerHomebrew
Paketmanager-Seitehttps://formulae.brew.sh/formula/dos2unix
Homepagehttps://waterlander.net/dos2unix/
Repositoryhttps://git.code.sf.net/p/dos2unix/dos2unix
Upstream-Dokumentationhttps://dos2unix.sourceforge.io/dos2unix/man1/dos2unix.htm
LizenzBSD-2-Clause
Quellarchivhttps://waterlander.net/dos2unix/files/dos2unix-7.5.6.tar.gz
Zuletzt aktualisiert2026-06-27T04:30:36Z
Pulseupdated
Bottleverfügbar (auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnicht definiert
Dienstkeiner deklariert

Registry-Fakten

Details aus der Quelldatenbank

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

Source-Datenbank-Treffer

Andere Paketmanager-Einträge

Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.

Debian apt95%

dos2unix 7.5.2-1

convert text file line endings between CRLF and LF

https://waterlan.home.xs4all.nl/dos2unix.html

sudo apt install dos2unix
  • Section: text
  • Architecture: amd64
  • 1 Abhängigkeiten
  • normalized package name match
  • Abgeglichen nach: Dos2unix
Debian stable package indexes · deb.debian.org · Debian stable package indexes: dos2unix from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

dos2unix

nix profile install nixpkgs#dos2unix
  • normalized package name match
  • Abgeglichen nach: Dos2unix
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/do/dos2unix/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

dos2unix 7.5.1-1

convert text file line endings between CRLF and LF

https://waterlan.home.xs4all.nl/dos2unix.html

sudo apt install dos2unix
  • Section: universe/text
  • Architecture: amd64
  • 1 Abhängigkeiten
  • normalized package name match
  • Abgeglichen nach: Dos2unix
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: dos2unix from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

dos2unix 7.5.5-r0

Text file format converters

https://waterlan.home.xs4all.nl/dos2unix.html

sudo apk add dos2unix
  • License: BSD-2-Clause
  • Architecture: x86_64
  • Source Package: dos2unix
  • 1 Abhängigkeiten
  • 1 stellt bereit
  • normalized package name match
  • Abgeglichen nach: Dos2unix
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: dos2unix from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

dos2unix-doc 7.5.5-r0

Text file format converters (documentation)

https://waterlan.home.xs4all.nl/dos2unix.html

sudo apk add dos2unix-doc
  • License: BSD-2-Clause
  • Architecture: x86_64
  • Source Package: dos2unix
  • normalized package name match
  • Abgeglichen nach: Dos2unix
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: dos2unix-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

dos2unix 7.5.5-1.fc45

Text file format converters

https://waterlan.home.xs4all.nl/dos2unix.html

sudo dnf install dos2unix
  • License: BSD-3-Clause
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: dos2unix
  • 2 Abhängigkeiten
  • 2 stellt bereit
  • normalized package name match
  • Abgeglichen nach: Dos2unix
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: dos2unix from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

dos2unix 7.5.6-1

Text file format converter

https://waterlan.home.xs4all.nl/dos2unix.html

sudo pacman -S dos2unix
  • License: BSD
  • Architecture: x86_64
  • 1 Abhängigkeiten
  • normalized package name match
  • Abgeglichen nach: Dos2unix
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: dos2unix from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

dos2unix 7.5.6-1.1

Text converters to and from DOS/MAC to UNIX

https://waterlander.net/dos2unix/

sudo zypper install dos2unix
  • License: BSD-2-Clause
  • Category: Productivity/Text/Convertors
  • Architecture: x86_64
  • Source Package: dos2unix
  • 1 Abhängigkeiten
  • 2 stellt bereit
  • normalized package name match
  • Abgeglichen nach: Dos2unix
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: dos2unix from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

dos2unix

sudo port install dos2unix
  • normalized package name match
  • Abgeglichen nach: Dos2unix
MacPorts ports tree · api.github.com · MacPorts ports tree: textproc/dos2unix/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Chocolatey95%

dos2unix

choco install dos2unix
  • normalized package name match
  • Abgeglichen nach: Dos2unix
Chocolatey community package catalog · community.chocolatey.org · Chocolatey community package catalog: dos2unix from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','dnspy'
Scoop95%

main/dos2unix

scoop install main/dos2unix
  • normalized package name match
  • Abgeglichen nach: Dos2unix
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/dos2unix.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
winget95%

waterlan.dos2unix

winget install --id waterlan.dos2unix -e
  • normalized package name match
  • Abgeglichen nach: Dos2unix
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: waterlan.dos2unix from https://cdn.winget.microsoft.com/cache/source.msix

Quellspur

Aus Repository-Daten generiert

Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.

Verwendete Quellen

  • 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