Skip to Content
gnux

-r, --repeat

Output lines can be repeated.

An option of shufx.

Usage

shufx -r [FILE]
shufx --repeat [FILE]

Details

ShortLongValueDefaultMeaning
-r--repeatnoneoutput lines can be repeated

Examples

Roll a die five times (numbers may repeat)

shufx -i 1-6 -r -n 5

An endless stream of coin flips, cut short by headx

shufx -r -e heads tails | headx -n 4

Help in the terminal

gnux help shufx --repeat

On this page