Import Sort::Naturally 1.03.

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.

ok ajacoutot@
This commit is contained in:
landry 2015-05-01 15:42:08 +00:00
parent 795a501ff4
commit 18c657a617
4 changed files with 21 additions and 0 deletions

View File

@ -0,0 +1,11 @@
# $OpenBSD: Makefile,v 1.1.1.1 2015/05/01 15:42:08 landry Exp $
COMMENT = sort lexically, but sort numeral parts numerically
CATEGORIES = devel
DISTNAME = Sort-Naturally-1.03
MODULES = cpan
# perl
PERMIT_PACKAGE_CDROM = Yes
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (Sort-Naturally-1.03.tar.gz) = 6qscXIdXWngmCJMEqx+P+n8Y5s2LOTdiPpmOhl7B50Y=
SIZE (Sort-Naturally-1.03.tar.gz) = 11150

View File

@ -0,0 +1,4 @@
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.

View File

@ -0,0 +1,4 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2015/05/01 15:42:08 landry Exp $
${P5SITE}/Sort/
${P5SITE}/Sort/Naturally.pm
@man man/man3p/Sort::Naturally.3p