DEV Community

Discussion on: Write a simple but impactful script

Collapse
 
joshcheek profile image
Josh Cheek

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"

Thread Thread
 
dmfay profile image
Dian Fay

You can get gshuf if you install the GNU coreutils through homebrew or ports.

Thread Thread
 
joshcheek profile image
Josh Cheek

Ahh, there we go _^