On Wed, 8 Sep 1999, Miguel Ribo wrote:

> Il y a aussi:
> 
> MOIS=`/bin/date +%m`
> MOISPREC=`expr $MOIS - 1`

Encore une dernière pour la route  ;)

MOISPREC=$[`/bin/date +%m | sed -e s/^0//` - 1]

        A+

-- 
- Vincent RENARDIAS  [EMAIL PROTECTED],pipo}.com,{debian,openhardware}.org} -
- Debian/GNU Linux:   http://www.openhardware.org        Executive Linux: -
- http://www.fr.debian.org   Open Hardware:       http://www.exelinux.com -
---------------------------------------------------------------------------
"J'adore la France :
    c'est un pays superbe et surtout il n'y a pas d'Anglais." [Mick Jagger]

Répondre à