Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
16s
on June 6, 2012
|
parent
|
context
|
favorite
| on:
6.5 Million LinkedIn Password Hashes Leaked
They are already unique and sorted.
sort -u combo_not.txt | wc -l 6458020
wc -l combo_not.txt 6458020
biot
on June 6, 2012
[–]
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. :)
JoshTriplett
on June 6, 2012
|
parent
[–]
"sort -u" means "sort and uniq".
biot
on June 6, 2012
|
root
|
parent
[–]
Wow, I can't believe I was never aware of this. Thank you!
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
sort -u combo_not.txt | wc -l 6458020
wc -l combo_not.txt 6458020