BSD Ports

devel/p5-Sort-Naturally 1.03p0 OpenBSD

sort lexically, but sort numeral parts numerically

System
OpenBSD
Repository
OpenBSD ports
Maintainer
The OpenBSD ports mailing-list <[email protected]>
Categories
devel, perl5

Description

This module exports two functions, nsort and ncmp; they are used in implementing my idea of a "natural sorting" algorithm. Under natural sorting, numeric substrings are compared numerically, and other word-characters are compared lexically.

In the other systems

SystemPortVersion
OpenBSDdevel/p5-Sort-Naturally1.03p0
FreeBSDtextproc/p5-Sort-Naturally1.03_1
NetBSDdevel/p5-Sort-Naturally1.03nb14
DragonFlytextproc/p5-Sort-Naturally1.03_1
MidnightBSDtextproc/p5-Sort-Naturally1.03_1
HardenedBSDtextproc/p5-Sort-Naturally1.03_1
GhostBSDtextproc/p5-Sort-Naturally1.03_1

Install

Binary package:

pkg_add p5-Sort-Naturally

From the ports tree:

cd /usr/ports/devel/p5-Sort-Naturally && make install

Dependencies