BSD Ports

converters/dos2unix 7.5.7 FreeBSD

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

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
aa43c8aa34
License
BSD2CLAUSE
Categories
converters
Package size
450.1 KiB, 2121.8 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

SystemPortVersion
FreeBSDconverters/dos2unix7.5.7
OpenBSDconverters/dos2unix7.5.7
NetBSDconverters/dos2unix7.5.6
DragonFlyconverters/dos2unix7.5.2
MidnightBSDconverters/dos2unix7.5.3
HardenedBSDconverters/dos2unix7.5.7
GhostBSDconverters/dos2unix7.5.7

Install

Binary package:

pkg install dos2unix

From the ports tree:

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

To depend on this port in another port's Makefile:

RUN_DEPENDS=	dos2unix>0:converters/dos2unix

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest7.5.77.5.7-7.5.27.5.7
FreeBSD:14:quarterly7.5.77.5.7n/a7.5.27.5.7
FreeBSD:15:latest7.5.77.5.7n/a7.5.27.5.2
FreeBSD:15:quarterly7.5.77.5.7n/an/an/a
FreeBSD:16:latest7.5.77.5.7n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

Build dependencies 12
Run dependencies 2
Required by 2

Configuration

Options name: converters_dos2unix

OptionDefaultDescription
DOCSoffBuild and/or install documentation
MANPAGESonBuild and/or install manual pages
NLSoffNative Language Support
USES
gmake
Service scripts
none
Conflicts with
unix2dos

Files

Manual pages 4
  • dos2unix(1)
  • mac2unix(1)
  • unix2dos(1)
  • unix2mac(1)
pkg-plist 112
  • bin/dos2unix
  • bin/mac2unix
  • bin/unix2dos
  • bin/unix2mac
  • share/doc/dos2unix/BUGS.txt
  • share/doc/dos2unix/ChangeLog.txt
  • share/doc/dos2unix/COPYING.txt
  • share/doc/dos2unix/de/dos2unix.htm
  • share/doc/dos2unix/de/dos2unix.txt
  • share/doc/dos2unix/dos2unix.htm
  • share/doc/dos2unix/dos2unix.txt
  • share/doc/dos2unix/es/dos2unix.htm
  • share/doc/dos2unix/es/dos2unix.txt
  • share/doc/dos2unix/fr/dos2unix.htm
  • share/doc/dos2unix/fr/dos2unix.txt
  • share/doc/dos2unix/INSTALL.txt
  • share/doc/dos2unix/ko/dos2unix.htm
  • share/doc/dos2unix/ko/dos2unix.txt
  • share/doc/dos2unix/NEWS.txt
  • share/doc/dos2unix/nl/dos2unix.htm
  • share/doc/dos2unix/nl/dos2unix.txt
  • share/doc/dos2unix/pl/dos2unix.htm
  • share/doc/dos2unix/pl/dos2unix.txt
  • share/doc/dos2unix/pt_BR/dos2unix.htm
  • share/doc/dos2unix/pt_BR/dos2unix.txt
  • share/doc/dos2unix/README.txt
  • share/doc/dos2unix/ro/dos2unix.htm
  • share/doc/dos2unix/ro/dos2unix.txt
  • share/doc/dos2unix/sr/dos2unix.htm
  • share/doc/dos2unix/sr/dos2unix.txt
  • share/doc/dos2unix/sv/dos2unix.htm
  • share/doc/dos2unix/sv/dos2unix.txt
  • share/doc/dos2unix/TODO.txt
  • share/doc/dos2unix/uk/dos2unix.htm
  • share/doc/dos2unix/uk/dos2unix.txt
  • share/doc/dos2unix/zh_CN/dos2unix.htm
  • share/doc/dos2unix/zh_CN/dos2unix.txt
  • share/locale/ca/LC_MESSAGES/dos2unix.mo
  • share/locale/da/LC_MESSAGES/dos2unix.mo
  • share/locale/de/LC_MESSAGES/dos2unix.mo
  • share/locale/eo/LC_MESSAGES/dos2unix.mo
  • share/locale/es/LC_MESSAGES/dos2unix.mo
  • share/locale/fr/LC_MESSAGES/dos2unix.mo
  • share/locale/fur/LC_MESSAGES/dos2unix.mo
  • share/locale/hu/LC_MESSAGES/dos2unix.mo
  • share/locale/ja/LC_MESSAGES/dos2unix.mo
  • share/locale/ka/LC_MESSAGES/dos2unix.mo
  • share/locale/ko/LC_MESSAGES/dos2unix.mo
  • share/locale/nb/LC_MESSAGES/dos2unix.mo
  • share/locale/nl/LC_MESSAGES/dos2unix.mo
  • share/locale/pl/LC_MESSAGES/dos2unix.mo
  • share/locale/pt_BR/LC_MESSAGES/dos2unix.mo
  • share/locale/ro/LC_MESSAGES/dos2unix.mo
  • share/locale/ru/LC_MESSAGES/dos2unix.mo
  • share/locale/sr/LC_MESSAGES/dos2unix.mo
  • share/locale/sv/LC_MESSAGES/dos2unix.mo
  • share/locale/uk/LC_MESSAGES/dos2unix.mo
  • share/locale/vi/LC_MESSAGES/dos2unix.mo
  • share/locale/zh_CN/LC_MESSAGES/dos2unix.mo
  • share/locale/zh_TW/LC_MESSAGES/dos2unix.mo
  • share/man/de/man1/dos2unix.1.gz
  • share/man/de/man1/mac2unix.1.gz
  • share/man/de/man1/unix2dos.1.gz
  • share/man/de/man1/unix2mac.1.gz
  • share/man/es/man1/dos2unix.1.gz
  • share/man/es/man1/mac2unix.1.gz
  • share/man/es/man1/unix2dos.1.gz
  • share/man/es/man1/unix2mac.1.gz
  • share/man/fr/man1/dos2unix.1.gz
  • share/man/fr/man1/mac2unix.1.gz
  • share/man/fr/man1/unix2dos.1.gz
  • share/man/fr/man1/unix2mac.1.gz
  • share/man/ko/man1/dos2unix.1.gz
  • share/man/ko/man1/mac2unix.1.gz
  • share/man/ko/man1/unix2dos.1.gz
  • share/man/ko/man1/unix2mac.1.gz
  • share/man/man1/dos2unix.1.gz
  • share/man/man1/mac2unix.1.gz
  • share/man/man1/unix2dos.1.gz
  • share/man/man1/unix2mac.1.gz
  • share/man/nl/man1/dos2unix.1.gz
  • share/man/nl/man1/mac2unix.1.gz
  • share/man/nl/man1/unix2dos.1.gz
  • share/man/nl/man1/unix2mac.1.gz
  • share/man/pl/man1/dos2unix.1.gz
  • share/man/pl/man1/mac2unix.1.gz
  • share/man/pl/man1/unix2dos.1.gz
  • share/man/pl/man1/unix2mac.1.gz
  • share/man/pt_BR/man1/dos2unix.1.gz
  • share/man/pt_BR/man1/mac2unix.1.gz
  • share/man/pt_BR/man1/unix2dos.1.gz
  • share/man/pt_BR/man1/unix2mac.1.gz
  • share/man/ro/man1/dos2unix.1.gz
  • share/man/ro/man1/mac2unix.1.gz
  • share/man/ro/man1/unix2dos.1.gz
  • share/man/ro/man1/unix2mac.1.gz
  • share/man/sr/man1/dos2unix.1.gz
  • share/man/sr/man1/mac2unix.1.gz
  • share/man/sr/man1/unix2dos.1.gz
  • share/man/sr/man1/unix2mac.1.gz

The first 100 are listed.

distinfo 1
FileSizeSHA256
dos2unix-7.5.7.tar.gz999983669ee27120ae71589f638fe3a167d6ea54f8633f5ab1b282551bd7a7c9510dfa
Master sites 2
  • SF
  • https://waterlander.net/dos2unix/files/

Commit history 1

DateCommitCreditsLog message
aa43c8aa34 Dimitry Andric converters/dos2unix: update to 7.5.7
Changes: https://waterlander.net/dos2unix/doc/NEWS.txt MFH: 2026Q3