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"
It's pronounced Diane. I do data architecture, operations, and backend development. In my spare time I maintain Massive.js, a data mapper for Node.js and PostgreSQL.
I don't have
sort -R
orshuf
(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 GNUcoreutils
through homebrew or ports.Ahh, there we go _^