Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Jun 2021 17:39:59 -0400
From:      Paul Procacci <pprocacci@gmail.com>
To:        "Ronald F. Guilmette" <rfg@tristatelogic.com>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: Location of shuf(1) and shuffle(1) ?
Message-ID:  <CAFbbPuj-Lsmb4AQhzsR8BRbtdPWTU2zw=XMq28EZf5cj9fs%2BQg@mail.gmail.com>
In-Reply-To: <64616.1623015438@segfault.tristatelogic.com>
References:  <64616.1623015438@segfault.tristatelogic.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Not sure about non-GNU versions if that's even a thing, but both shuf and
shuffle are available via pkg.

# pkg search shuf
p5-Algorithm-Numerical-Shuffle-2009110301_1 Shuffle a list
shuf-1.8                       Randomly permute input lines
shuffle-20010603               Produce random permutations
shuffle-db-1.0.r1_1            IPod shuffle database builder


pkg install shuf
or
pkg install shuffle

~Paul

On Sun, Jun 6, 2021 at 5:37 PM Ronald F. Guilmette <rfg@tristatelogic.com>
wrote:

> Can anyone tell me where/how I can get these two command line utilities
> onto my 12.2-RELEASE system?
>
> shuf(1)
> shuffle(1)
>
> I found man pages for both on the FreeBSD web site (see links below),
> but neither one appears to have been installed as part of the base
> system.  I have scrounged around in the ports tree and the only thing
> I found which was even close (but stuff different) was the (GNU)
> sysutils/coreutils port/package which would install "gshuf", which
> is apparently the GNU-specific version of shuf(1).
>
> What I'm actually looking for is the shuf(1) and shuffle(1) command
> line utilities that are documented (with man pages) on the FreeBSD
> web site.  (The former seems to have possibly/probably come from
> OpenBSD, while the latter seems to have possibly/probably come from
> NetBSD.)
>
>
> https://www.freebsd.org/cgi/man.cgi?query=shuf&apropos=0&sektion=0&manpath=FreeBSD+12.2-RELEASE+and+Ports&arch=default&format=html
>
>
> https://www.freebsd.org/cgi/man.cgi?query=shuffle&apropos=0&sektion=0&manpath=FreeBSD+12.2-RELEASE+and+Ports&arch=default&format=html
>
>
> NOTE:  I really do want to get the non-GNU versions because I want to do
> some benchmarking of these utilities.
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscribe@freebsd.org"
>


-- 
__________________

:(){ :|:& };:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFbbPuj-Lsmb4AQhzsR8BRbtdPWTU2zw=XMq28EZf5cj9fs%2BQg>