The GNU sort text utility features a non-standard -R option to randomize input lines (presumably by sorting on a hash).
OSX sort does not have this extension. Is there similar functionality available in another text filter?
|
feedback
|
|
If you want, you can install GNU Running this would install Homebrew.
Then just follow the installation instructions. When Homebrew is installed, run
This will install GNU sort as Alternatively, have a look at these Stack Overflow questions, which mention a couple of methods:
Or take a look at this commandlinefu.com page: | |||
feedback
|