BSD Ports

sysutils/frand 0.1_11 DragonFly

Selects a random file using reservoir sampling algorithm

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
BSD2CLAUSE
Categories
sysutils
Package size
10.3 KiB, 24.8 KiB installed

Description

Selects a random file from given directory using reservoir sampling algorithm. This means directory contents doesn't need to be read in memory and then sorted and so will perform much better than find+sort for big directories.

In the other systems

SystemPortVersion
DragonFlysysutils/frand0.1_11
FreeBSDsysutils/frand0.1_16

Install

Binary package:

pkg install frand

From DPorts:

cd /usr/dports/sysutils/frand && make install clean

Dependencies

Run dependencies 1

No port depends on this one.