向高手请教!关于mssqljdbc!!

向高手请教!关于mssqljdbc!!

向高手请教!关于MSSQLJDBC!!
我从LEFTWORLD.NET下载的MSSQL的JDBC驱动,解压后有个KSH的安装文件内容如下:

#!/bin/ksh

clear

echo ""
echo "============================================================"
echo "=    SQLServer 2000 Driver for JDBC Installation           ="
echo "=    Service Pack 1                                        ="
echo "============================================================"
echo ""
echo "Initializing....."
echo ""

ERRCHK=1
INSTALLDIR=`pwd`
TARFILE="$INSTALLDIR/msjdbc.tar"
DEFAULTDIR="/opt/msSQLjdbc"

echo ""
echo "================================================================="
echo "=    SQLServer 2000 Driver for JDBC License Agreement          ="
echo "================================================================="
echo ""
echo "ress <enter> to view License Agreement."
read DUMMY

more EULA.txt

echo ""
echo "Do you agree to the terms of the License Agreement? <y/n> (y)"

read ANSWER

case $ANSWER in
  "n" | "N" | "No" | "no" | "NO")
        echo "Installation Cancelled by user."
        exit 0
        break;
        ;;
   *)
        echo "Installation proceeding..."
        break;
        ;;
esac

while true
do
        if [ $ERRCHK -ne 0 ] ; then
                echo ""
                echo "lease enter the installation directory: ($DEFAULTDIR)"

                read TARGETDIR
               
                if [ -z $TARGETDIR ] ; then
                        TARGETDIR=$DEFAULTDIR
                fi

                if [ ! -d "$TARGETDIR" ] ; then
                        mkdir -p "$TARGETDIR"
                        ERRCHK="$?"
                        if [ "$ERRCHK" -ne 0 ] ; then
                                echo "You do not have permissions to write to this directory"
                                exit 0
                        fi
                fi
                break
        else
        break
        fi
done

echo ""
echo "Installing SQLServer 2000 Driver for JDBC...."

cd $TARGETDIR

tar -xf $TARFILE
ERRCHK="$?"
if [ $ERRCHK -ne 0 ] ; then
        echo "There was a problem opening the tar file ($TARFILE)"
        echo "Aborting Installation."
        exit 0
else
        echo "Installation is Complete."
        echo "SQL Server 2000 driver for JDBC is installed in the following location: $TARGETDIR"
        exit 0
fi

当我用“ksh install.ksh”命令执行后,出现了如下的结果
install.ksh[26]: syntax error: 'in' M unexpected
我对KSH的语法不懂,我认为错误在CASE语句,我屏蔽掉该CASE语句后又出现了'if' unexpected ,我很迷惑,还有我是在当前的路径下运行的该程序,程序中有句more EULA.txt 明明当前目录下有EULA.txt文件运行中却说找不到该文件。
请问高手:该程序到底有不有语法错误,请帮我指点出来,还有如果没有,为什么我运行时会出现如上的错误,还有程序中red DUMMY是什么意思,read TARGETDIR是什么意思,DUMMY和TARGETDIR是不是内置的,还是别的什么变量。

先行谢过!      
其实这是个很简单的shell

开始会打印一些信息,然后定义一些变量,然后读取DUMMY,再打开License文件EULA.txt(没有就随便建一个),问你是否同意,判断输入的N,no,NO等,同意则往下,输入安装路径,然后建立一个目录,最后tar解压缩,完了。