RDV+DIAL chat illimit� dans ta r�g!
no save
Assistance
Achat
News

Forum | Linux/Unix
Ftp sous shell
tontonswell, le ven. 16 nov. 2007 à 10:39:45
Bonjour,
j'ai un script shell, pour une transaction ftp qui fait ça:

if [ $mavariable -eq $cekejeveux ]
then
ftp machine 21 <<-EOF
cd "rep"
binary
dir
quit
EOF
else
#The -EOF is there to remove the tabs
ftp machine 21 <<-EOF
cd "rep"
binary
dir
quit
EOF
fi

mais il me renvoie cette erreur:
./ftp[5]: syntax error at line 8 : `<<' unmatched
Je sais qu'il s'agit normalement d'un problème de tabulations...
Quelqu'un a une idée?
Merci d'avance Configuration: Windows 2000
Firefox 1.5.0.4


dubcek
nov. 07
Suivant
REPONSES
dubcek
nov. 07
tontonswell
nov. 07
dubcek
nov. 07
tontonswell
nov. 07
dubcek
nov. 07
Version Web
Réalisé par RedShift
no save