Hacker News new | ask | show | jobs
by adr_ 5433 days ago
Using shuf, my favourite, rarely used gnu textutil.

    shuf /usr/share/dict/words|head -4|tr '\n' ' ';echo
1 comments

ye it isn't on OS X

just the same, sort -R is GNU only and not POSIX