Perl one-liner:
perl -MList::Util -e 'print List::Util::shuffle <>' input > output
Pretty nice. Learned from https://stackoverflow.com/questions/886237/how-can-i-randomize-the-lines-in-a-file-using-a-standard-tools-on-redhat-linux
Perl one-liner:
perl -MList::Util -e 'print List::Util::shuffle <>' input > output
Pretty nice. Learned from https://stackoverflow.com/questions/886237/how-can-i-randomize-the-lines-in-a-file-using-a-standard-tools-on-redhat-linux
Reblogged this on oogenhand.