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

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: