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. Users should look at the shuf command from GNU coreutils instead for a better-supported implementation.
| Tags | Text Processing Filters |
|---|---|
| Licenses | GPL |
| Operating Systems | POSIX |
| Implementation | C |
Recent releases


Changes: This release is mostly a cleanup release to include some Debian packaging improvements and to add a deprecation warning to direct users to use shuf instead.


Changes: A dangerous example was removed from the manual page and was replaced by several benign ones.


Changes: This release adds a --line-number option to output the line numbers from the input file and fixes the documentation (mainly spelling errors).


Changes: This release checks for errors while reading and writing input and output.


Changes: This release adds improvements to the configuration with the ability to choose a source for the random number generator, and some documentation improvements.