Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
lilyball
3 months ago
|
parent
|
context
|
favorite
| on:
We spent $20 to achieve RCE and accidentally becam...
yeah, they could have done `sqlite …|sort -u|wc -l` instead and saved themselves a process invocation!
silisili
3 months ago
[–]
Hey now if you're just gonna count lines no need to sort it at all.
lilyball
3 months ago
|
parent
[–]
you need to sort it in order to uniq it, because uniq only removes duplicate consecutive lines.
silisili
3 months ago
|
root
|
parent
[–]
You know, it's been so long since I've used it, I completely forgot that fact. Alright, you win the battle of best correct bad sql to bash pipeline :).
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: