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
| System | Port | Version |
|---|---|---|
| OpenBSD | devel/p5-Sort-Naturally | 1.03p0 |
| FreeBSD | textproc/p5-Sort-Naturally | 1.03_1 |
| NetBSD | devel/p5-Sort-Naturally | 1.03nb14 |
| DragonFly | textproc/p5-Sort-Naturally | 1.03_1 |
| MidnightBSD | textproc/p5-Sort-Naturally | 1.03_1 |
| HardenedBSD | textproc/p5-Sort-Naturally | 1.03_1 |
| GhostBSD | textproc/p5-Sort-Naturally | 1.03_1 |
Install
Binary package:
pkg_add p5-Sort-Naturally
From the ports tree:
cd /usr/ports/devel/p5-Sort-Naturally && make install