[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [HS] script bash



Le Vendredi 3 Septembre 2004 21:37, loick.b@waipro.com a écrit :
> Le vendredi 3 Septembre 2004 21:04, Jeremy Monnet a écrit :
> >         else if [ "$PAYSLOT_MOVIE" -eq "1"] && [ "$PAYSLOT_MOVIE" -eq
> > "3"]
>
> Remplace déja le "else if" par un "elif"...

Oui ! ca marche déjà un peu mieux ! Y'a-t-il une différence entre les deux ? 
Je n'ai pas fait de tests, mais j'ai l'impression qu'avec "else if" il faut 
rajouter un "then" alors que "elif" n'en a pas besoin ? J'ai raison, ou je 
suis à coté d ela plaque ?

Re - Merci ! :o)

Jeremy
-- 
------
Linux Registered User #317862

You want to use GNU/Linux or Windows ?
- You want to spend time or money ?

Why is Microsoft raising prices on you? Because they can !
- To take that power away from them, use Linux !

Attachment: pgpIkyPSLOy6b.pgp
Description: PGP signature


Reply to: