News for hackers. Stuff that matters.
Re:“But didn't you write an embedded OS?” by NullPrefix on Sunday May 13, 2018 @09:34AM (#17058816)
Clearly a suboptimal solution. That pipe isn't free. /s

  sort -u foo
Re:“But didn't you write an embedded OS?” by my123 on Sunday May 13, 2018 @09:42AM (#17058847)
Seems to be too little UNIXy. Modern tools sometimes not only do one job. (the z flag might have been kept out of tar too for example) :P
Re:“But didn't you write an embedded OS?” by emilfihlman on Sunday May 13, 2018 @01:56PM (#17060071)
With piping you can leverage multiprocessing for free.

Using sort -u alone might actually not be as fast as sort | uniq -u.