Il y a aussi:

MOIS=`/bin/date +%m`
MOISPREC=`expr $MOIS - 1`

mais bon ca fait une ligne de plus ;)

a++
Mig
--

Répondre à