BSD Ports

converters/dos2unix 7.5.7 OpenBSD

convert DOS/MAC files to UNIX (line-endings/charset)

System
OpenBSD
Repository
OpenBSD ports
Maintainer
The OpenBSD ports mailing-list <[email protected]>
Last update
Commit
ccb676c335
Categories
converters

Description

Convert text files with DOS or Mac line breaks to Unix line breaks and vice versa. Features:

* Automatically skips binary and non-regular files. * In-place, paired, or stdio mode conversion. * Keep original file dates option. * 7-bit and iso conversion modes like SunOS dos2unix. * Conversion of Windows UTF-16 files to Unix UTF-8.

In the other systems

The newest version among them is 7.5.7, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
OpenBSDconverters/dos2unix7.5.7 newestno data-The OpenBSD ports mailing-list <[email protected]>2026-08-31
FreeBSDconverters/dos2unix7.5.7 newestnone known-[email protected]2026-08-31
NetBSDconverters/dos2unix7.5.6 behind since 2026-08-31none known-[email protected]2026-09-22
DragonFlyconverters/dos2unix7.5.2 behind since 2026-08-31none known-[email protected]-
MidnightBSDconverters/dos2unix7.5.3 behind since 2026-08-31no data-[email protected]-
HardenedBSDconverters/dos2unix7.5.7 newestno data-[email protected]-
GhostBSDconverters/dos2unix7.5.7 newestno data-[email protected]-

Compare across BSDs

Version history 1

  1. 7.5.7 ccb676c335

Upstream's version as each commit to the port's Makefile set it, or as this site first saw it in the system's packages; the tree's own revisions are not versions here.

Install

Binary package:

pkg_add dos2unix

From the ports tree:

cd /usr/ports/converters/dos2unix && make install

Dependency graph

Ports that need it on the left, what it needs to run on the right (to build, as it needs nothing to run); at most 8 of each. "Dependencies" below lists them all.

Dependencies

Build dependencies 2
Required by 1

Commit history 1

DateCommitCreditsLog message
ccb676c335 benoit Update to dos2unix-7.5.7 from David Uhden Collado.