Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I assume the first line you meant to pipe it through uniq afer the sort? Otherwise the only thing you've demonstrated is that sorting a file doesn't change its line count. :)


"sort -u" means "sort and uniq".


Wow, I can't believe I was never aware of this. Thank you!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: