Bash Check Longueur de la variable
myvar="some string"
size=${#myvar}
Helpful Hawk
myvar="some string"
size=${#myvar}