how do i..
Mr. Oberoi
oberoi_1 at yahoo.com
Mon Aug 23 10:27:37 UTC 2004
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
More information about the fedora-list
mailing list