BSD Ports

converters/dos2unix 7.5.6 NetBSD

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

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
51b52077c5
License
2-clause-bsd
Categories
converters
Package size
321.3 KiB, 2529.2 KiB installed

Description

dos2unix includes utilities to convert text files with DOS or MAC line endings to Unix line endings and vice versa. It is an update of Benjamin Lin's implementations.

In the other systems

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

Install

Binary package:

pkgin install dos2unix

From pkgsrc:

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

Packages

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

RepositoryVersion
NetBSD 10.1 x86_647.5.6
NetBSD 10.1 aarch647.5.6
SmartOS / illumos x86_647.5.7
macOS 15 arm647.5.7

Dependencies

Required by 2

Commit history 1

DateCommitCreditsLog message
51b52077c5 ryoon converters/dos2unix: Update to 7.5.7
Changelog: 7.5.7: * Detect a missing UTF-16 low surrogate at the end of a file. * Fixed the processing of files containing only half a BOM. * unix2dos: Fixed conversion of a DOS line break immediately after a Mac line break. * mac2unix/unix2mac: Fixed counting line breaks in verbose mode of files with mixed line break types. * Code cleanup.