Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
gcmeplz
on May 29, 2019
|
parent
|
context
|
favorite
| on:
Removing duplicate lines from files keeping the or...
Use sponge!
https://linux.die.net/man/1/sponge
awk '!n[$0]++' fileName | sponge fileName
Consider applying for YC's Spring batch! Applications are open till Feb 11.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: