Calculer la longueur d'une chaîne

Syntaxe : ${#var}
$ echo $PWD
/home/gauvain
$ echo ${#PWD}
15



Gauvain Pocentek 2009-07-08