[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bash - unexpected end of file
From: |
Mÿffffe4rcio Borges |
Subject: |
bash - unexpected end of file |
Date: |
Fri, 31 Aug 2007 01:56:19 -0300 (ART) |
Pessoal to precisando fazer um pequeno trabalho com o CYGWIN e pq tomo este
erro ?
#!/bin/bash
answer=y
while [ $answer = y ]; do
echo "Hello";
echo "go again?";
read answer
done
execucao:
+ answer=$'y\r'
./Loop.sh: line 7: syntax error near unexpected token `done'
./Loop.sh: line 7: `done'
Grato
Flickr agora em português. Você clica, todo mundo vê. Saiba mais.
[As partes desta mensagem que não continham texto foram removidas]
- bash - unexpected end of file,
Mÿffffe4rcio Borges <=