From owner-freebsd-questions@freebsd.org Sun Jun 6 21:37:26 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id CE52963EC12 for ; Sun, 6 Jun 2021 21:37:26 +0000 (UTC) (envelope-from rfg@tristatelogic.com) Received: from outgoing.tristatelogic.com (segfault.tristatelogic.com [69.62.255.118]) by mx1.freebsd.org (Postfix) with ESMTP id 4FyqbT5F01z4bpY for ; Sun, 6 Jun 2021 21:37:25 +0000 (UTC) (envelope-from rfg@tristatelogic.com) Received: by segfault.tristatelogic.com (Postfix, from userid 1237) id 4CCAB4E6A7; Sun, 6 Jun 2021 14:37:18 -0700 (PDT) From: "Ronald F. Guilmette" To: freebsd-questions@freebsd.org Subject: Location of shuf(1) and shuffle(1) ? MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <64615.1623015437.1@segfault.tristatelogic.com> Content-Transfer-Encoding: quoted-printable Date: Sun, 06 Jun 2021 14:37:18 -0700 Message-ID: <64616.1623015438@segfault.tristatelogic.com> X-Rspamd-Queue-Id: 4FyqbT5F01z4bpY X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of rfg@tristatelogic.com designates 69.62.255.118 as permitted sender) smtp.mailfrom=rfg@tristatelogic.com X-Spamd-Result: default: False [-2.30 / 15.00]; ARC_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[69.62.255.118:from]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[tristatelogic.com]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[69.62.255.118:from:127.0.2.255]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:14051, ipnet:69.62.128.0/17, country:US]; SUBJECT_ENDS_QUESTION(1.00)[]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Jun 2021 21:37:26 -0000 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=3Dshuf&apropos=3D0&sektion=3D0&m= anpath=3DFreeBSD+12.2-RELEASE+and+Ports&arch=3Ddefault&format=3Dhtml https://www.freebsd.org/cgi/man.cgi?query=3Dshuffle&apropos=3D0&sektion=3D= 0&manpath=3DFreeBSD+12.2-RELEASE+and+Ports&arch=3Ddefault&format=3Dhtml NOTE: I really do want to get the non-GNU versions because I want to do some benchmarking of these utilities.