4 ms·
Clearly a suboptimal solution. That pipe isn't free. /s sort -u foo
by NullPrefix 8y ago
Clearly a suboptimal solution. That pipe isn't free. /s
sort -u foo
- my123 8y agoSeems 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
- emilfihlman 8y agoWith piping you can leverage multiprocessing for free. Using sort -u alone might actually not be as fast as sort | uniq -u.