mercredi 4 août 2010

removing end of a variable

export TOTO=fssam0sv
echo ${TOTO%%sv}

ca retire le sv de la fin de la variable

Aucun commentaire:

Enregistrer un commentaire