|
|
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
following is bit of code that i am having trouble with
do
processfile "$lnopts" "$filename"
result=$?
if [ $result -ne 0 -a "$cont" != 'Y' ]
then
echo -n "Error occurred. Continue (y/n/a)?"
read cont
test "$cont" = 'n' -o "$cont" = 'N' && exit 1
[ "$cont" = 'a' || "$cont" = 'A' ] && cont='Y'
fi
done
the error i get is
./parta.assesment: line 122: syntax error near
unexpected token `('
./parta.assesment: line 122: ` echo -n "Error
occurred. Continue (y/n/a)? "'
and i cant figure out what is wrong with that echo
statement????
=====
deepak oberoi
__________________________________
Do you Yahoo!?
Read only the mail you want - Yahoo! Mail SpamGuard.
http://promotions.yahoo.com/new_mail
[Home] [Current Fedora Users] [Fedora Legacy List] [Fedora Desktop] [Singles Community] [Fedora SELinux] [Big List of Linux Books] [Yosemite News] [Yosemite Photos] [KDE Users] [Fedora Tools] [Fedora Docs]