rl

randomize lines of input text

Install

All systems
curl cmd.cat/rl.sh
Debian Debian
apt-get install randomize-lines
Ubuntu
apt-get install randomize-lines
Windows (WSL2)
sudo apt-get update sudo apt-get install randomize-lines
OS X
brew install randomize-lines
Raspbian
apt-get install randomize-lines

randomize-lines

randomize lines of input text

rl is a command-line tool that reads lines from an input file or stdin, randomizes the lines and outputs a specified number of lines. It does this with only a single pass over the input while trying to use as little memory as possible. Currently randomize-lines is under development and command-line arguments may change slightly until a 1.0 release is made. Users are recommended to use the shuf command instead which should be available by default. This package may be considered deprecated.