Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
fiddlerwoaroof
on May 30, 2018
|
parent
|
context
|
favorite
| on:
Shell Magic: Set Operations with uniq
Doesn't uniq only read the input once? I've always assumed that the reason uniq assumes its input is presorted is that, then, it doesn't need to buffer all of it: instead, it just eliminates successive duplicate lines.
alpb
on May 30, 2018
[–]
Yeah but in this case the author is doing "cat 1.txt 1.txt 2.txt".
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: