> 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???? > > > ===== > Although it doesn't show on the statement line you have backtic marks arround the statement. Remove them and you should be allright. -- Richard E Miles Federal Way WA. registered linux user 46097