Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
hnha
on Aug 27, 2014
|
parent
|
context
|
favorite
| on:
Useful Unix commands for exploring data
you could directly write to uniqMovie.csv in your example. I would do it like below but ONLY once I am certain it is exactly what I want. Usually I just make one clearly named result file per operation without touching the original.
uniq -u movies.csv > /tmp/temp.csv && mv /temp/temp.csv movies.csv
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
uniq -u movies.csv > /tmp/temp.csv && mv /temp/temp.csv movies.csv