Trier un fichier CSV

Pour trier un fichier CSV

sort <fichier> -o <fichier de sortie> -t '<séparateur>' -k <liste des colonnes>

Exemple :

sort toto.csv -o toto_trie.csv -t ';' -k 1,2

Laisser un commentaire