mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
305 B
305 B
shuf
generate random permutations
- randomize strings position in file
shuf {{filename}}
- generate random numbers in range
shuf -i {{low}}-{{high}}
- take first n results from output
shuf -n {{n}} {{filename}}
- write output to another file
shuf -o {{another_filename}} {{filename}}