samedi 29 novembre 2014

Sorting a csv file


I'm started to learn Linux Unix and I need help...


I need to sort a csv file, but the the header row (1st row) keeps getting sorted. This is what I'm using: cat data1.csv | sort -t"|" -k 1 -o data1.csv


Please help!!!!



Aucun commentaire:

Enregistrer un commentaire