BSD Ports

converters/dos2unix 7.5.2 DragonFly

DOS/Mac to Unix and vice versa text file format converter

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
BSD2CLAUSE
Categories
converters
Package size
428.2 KiB, 2092.5 KiB installed

Description

This is an update of Benjamin Lin's implementations of dos2unix and unix2dos. Benjamin Lin's implementations of dos2unix and unix2dos were distributed via SunSITE.unc.edu (later MetaLab.unc.edu, now ibiblio) and became part of several Linux distributions such as RedHat, Suse, Gentoo, and others. This update includes all RedHat patches and fixes several other problems. Internationalization has been added and ports to DOS, Windows, Cygwin and OS/2 Warp have been made.

Features * Native language support. * 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 Unicode UTF-16 files. * Handles Unicode Byte Order Mark (BOM). * Display file information. * Secure.

In the other systems

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

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
DragonFlyconverters/dos2unix7.5.2 behind since 2026-08-31none known-[email protected]-
FreeBSDconverters/dos2unix7.5.7 newestnone known-[email protected]2026-08-31
OpenBSDconverters/dos2unix7.5.7 newestno data-The OpenBSD ports mailing-list <[email protected]>2026-08-31
NetBSDconverters/dos2unix7.5.6 behind since 2026-08-31none known-[email protected]2026-09-22
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

Install

Binary package:

pkg install dos2unix

From DPorts:

cd /usr/dports/converters/dos2unix && make install clean

Dependency graph

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

Dependencies

Run dependencies 1

No port depends on this one.