Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
nhaehnle
on Dec 13, 2015
|
parent
|
context
|
favorite
| on:
look(1): lines beginning with given string
Thanks to @climagic on Twitter, I recently learned that sort -R and shuf are not in fact the same thing. (sort -R doesn't actually shuffle...)
cfcef
on Dec 13, 2015
[–]
My point there was that besides being a true shuffle, 'shuf' also has an algorithmic advantage when you only need a few lines (similar to how lookup has an advantage when you only need a few).
Consider applying for YC's Spring batch! Applications are open till Feb 11.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: