SORT empties my file?
- by Jonathan Sampson
I'm attempting to sort a csv on my machine, but I seem to be erasing the contents each time I use the sort command. I've basically created a copy of my csv lacking the first row:
sed '1d' original.csv > newcopy.csv
To confirm that my new copy exists lacking the first row I can check with head:
head 1 newcopy.csv
Sure enough, it finds my…