Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 May 2008 10:30:41 -0400 (EDT)
From:      Greg Larkin <glarkin@sourcehosting.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        glarkin@sourcehosting.net
Subject:   ports/124100: [NEW PORT] textproc/fileshuffle: A filter for shuffling lines in a text file into random order
Message-ID:  <200805291430.m4TEUf9F084761@fbsd70.entropy.prv>
Resent-Message-ID: <200805291440.m4TEe1I9018536@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         124100
>Category:       ports
>Synopsis:       [NEW PORT] textproc/fileshuffle: A filter for shuffling lines in a text file into random order
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu May 29 14:40:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Greg Larkin
>Release:        FreeBSD 7.0-RELEASE i386
>Organization:
SourceHosting.net, LLC
>Environment:
System: FreeBSD fbsd70.entropy.prv 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008
>Description:
shuffle, as its name implies, shuffles the lines of its input (either
standard input, or the named files) into random order. It is in a
sense the very inverse of sort(1)).

WWW:    http://www.eskimo.com/~scs/src/#shuffle


NOTE: The actual name of this tool is shuffle, but I changed it to
      fileshuffle to avoid conflict with the misc/shuffle port. The
      binary and man page are installed with the new name.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- fileshuffle-0.1.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	fileshuffle
#	fileshuffle/pkg-descr
#	fileshuffle/Makefile
#	fileshuffle/distinfo
#
echo c - fileshuffle
mkdir -p fileshuffle > /dev/null 2>&1
echo x - fileshuffle/pkg-descr
sed 's/^X//' >fileshuffle/pkg-descr << 'END-of-fileshuffle/pkg-descr'
Xshuffle, as its name implies, shuffles the lines of its input (either
Xstandard input, or the named files) into random order. It is in a
Xsense the very inverse of sort(1)).
X
XWWW:    http://www.eskimo.com/~scs/src/#shuffle
END-of-fileshuffle/pkg-descr
echo x - fileshuffle/Makefile
sed 's/^X//' >fileshuffle/Makefile << 'END-of-fileshuffle/Makefile'
X# New ports collection makefile for:	fileshuffle
X# Date created:		2008-05-29
X# Whom:			Greg Larkin <glarkin@sourcehosting.net>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	fileshuffle
XPORTVERSION=	0.1
XCATEGORIES=	textproc
XMASTER_SITES=	ftp://ftp.eskimo.com/u/s/scs/src/
XDISTNAME=	shuffle
X
XMAINTAINER=	glarkin@sourcehosting.net
XCOMMENT=	A filter for shuffling lines in a text file into random order
X
XMANPAGE=	shuffle.1
X
XPLIST_FILES=	bin/${PORTNAME}
XMAN1=		${PORTNAME}.1
X
Xdo-install:
X		@${CP} ${WRKSRC}/shuffle ${PREFIX}/bin/${PORTNAME}
X		@${CP} ${WRKSRC}/${MANPAGE} ${PREFIX}/man/man1/${PORTNAME}.1
X.include <bsd.port.mk>
END-of-fileshuffle/Makefile
echo x - fileshuffle/distinfo
sed 's/^X//' >fileshuffle/distinfo << 'END-of-fileshuffle/distinfo'
XMD5 (shuffle.tar.gz) = 22b271c58d0abd618260a06ff45786d2
XSHA256 (shuffle.tar.gz) = f9eab7047cea96daccccfae6453dacec1696a5a25f76e1e059364239958c05ae
XSIZE (shuffle.tar.gz) = 16780
END-of-fileshuffle/distinfo
exit
--- fileshuffle-0.1.shar ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200805291430.m4TEUf9F084761>