Bonjour,
je suis en train d'�crire (laborieusement) un script bash, et j'ai un probl�me
de syntaxe dans les boucles if :
if [ -d $movie ]
then
...
if [ "$PAYSLOT_MOVIE" -ge "7" ]
then
...
else if [ "$PAYSLOT_MOVIE" -eq "1"] && [ "$PAYSLOT_MOVIE" -eq "3"]
then
...
fi
else
....
fiquand j'execute, ca me dit " syntax error near unexpected token `else' " a la ligne du second else (le dernier a la fin). Pourtant il me semble qu'on peut imbriquer des boucles ? Un exemple en est m�me donn� a la page 123�du ABS guide. Quelqu'un a une id�e ? Merci ! 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 !
pgpy43EUSliDg.pgp
Description: PGP signature

