Skip to Content
gnux

-R, --random-sort

Shuffle, but group identical keys.

An option of sortx.

Usage

sortx -R [FILE]...
sortx --random-sort [FILE]...

Details

ShortLongValueDefaultMeaning
-R--random-sortnoneshuffle, but group identical keys

Examples

Run the test files in a shuffled order that a seed file makes repeatable

lsx tests/*.sh | sortx -R --random-source=ci-seed.bin

Help in the terminal

gnux help sortx --random-sort

On this page