codeASCII=$(printf « %d\n » \’${SEPARATEUR} 2>/dev/null)
Category Archives: Unix/Linux
Taille d’une variable
Posted by DiabloCorps on 12 octobre 2010
0 comments
Pour connaître la taille d’une variable en shell :
t= »123456″
echo ${#t}
renvoie 6
Trier un fichier CSV
Posted by DiabloCorps on 12 octobre 2010
0 comments
Pour trier un fichier CSV
sort Exemple : sort toto.csv -o toto_trie.csv -t ‘;’ -k 1,2 ‘ -k