I don't have sort -R or shuf (I'm on OS X). I did not know you could do the dot precision thing with integers! My solution was basically the same, but I did "%04d\n"
You can get gshuf if you install the GNU coreutils through homebrew or ports.
Ahh, there we go _^
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.