unsort

reorders lines in a file in semirandom ways

Install

All systems
curl cmd.cat/unsort.sh
Debian Debian
apt-get install unsort
Ubuntu
apt-get install unsort
image/svg+xml Kali Linux
apt-get install unsort
Windows (WSL2)
sudo apt-get update sudo apt-get install unsort
Raspbian
apt-get install unsort

unsort

reorders lines in a file in semirandom ways

This program reorders the lines in its input with no regard to the actual contents. Two permutation algorithms are available: randomization based on a good PRNG (the Mersenne Twister algorithm) and "shuffling", which permutes the lines in such a way that they're spread more or less evenly in the output. This mode is primarily intended for music playlists.