db2 insert into DATACORE.ETL_LOGGER values (9999999,'20090411M_SV_ACCM_TIME_PROC','2009-04-11 10:0:55','2009-04-11 10:13:59','ok','M_SV_ACCM_TIME_PROC-success ','M_SV_ACCM_TIME_PROC_D','2009-04-11'); -bash: syntax error near unexpected token `(' 系统是cent linux ,数据库是db2 9 为什么会报这样的错误呢?~
by upperc - Shell - 2009-04-23 15:23:41 阅读(6707) 回复(5)
运行以下脚本出错,错误如下: wget is /usr/bin/wget --15:36:05-- http://ftp.apnic.net/apnic/stats/apnic/delegated-apnic-latest => `delegated-apnic-latest' Resolving ftp.apnic.net... 202.12.29.20 Connecting to ftp.apnic.net|202.12.29.20|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 844,736 (825K) [text/plain] 100%[================================================...
#!/bin/bash until [$# -eq 0] do echo "the first perimiter:$1 the num is :$#" shift done
#include
我写了个SHELL如下: #!/bin/sh # if test -f ./env then . ./env fi if test -z "$APPDIR" then echo "APP - Variable APPDIR is not set." exit 1 fi if test -f ${APPDIR}/bin/startinit1 then ${APPDIR}/bin/startinit -y exit $? elif test -f ${APPDIR}/bin/startinit2 then ${APPDIR}/bin/startinit2 exit $? else exit 1 fi 但在SOLARIS下用. ./start执行时出此错: syntax error: `elif' un...
小弟最近学习shell 写了一个监控脚本。 可执行的时候 总是报 syntax error: unexpected end of file 开始的时候成功过一次 我修改了下"$result" -gt 80 把80 改成 10 后 就报这错误了 请高手们帮帮看看,应该没少什么() 之类 #!/bin/sh export rq=`date '+%Y_%m_%d'` touch /rizhi/jk$rq.txt echo "+++++++++++++++++++++++++++++++oracle进程+++++++++++++++++++++++++++++++++">/rizhi/jk$rq.txt echo "USER PID %CP...
各位老大誰遇到過syntax error: unexpected end of file的錯誤 我的shell一個共160行 啊 研究多天都未解!! 幫忙看看 cat download_ftp #!/bin/ksh #creat by prefct . /u/asus/bin/cron_profile client=$1 case $client in DTW) cd /u/lsp/data/DTW/LSP_TO_ASUS ;; *) exit ;; esac if [ -s '/u/lsp/chk/'$client'chk.flg' ] then echo $$ > '/u/lsp/chk/'$client'down.flg' else echo "YOU CAN'T RUN THIS SHELL!!!" ex...
/opt/samba/bin/smbstatus /opt/samba/bin/smbclient都出现同样的错误,是什么原因
直接编译安装了splint3.1.1,安装的时候就提示 ./splint: syntax error at line 1: `(' unexpected,安装完成后运行splint也提示./splint: syntax error at line 1: `(' unexpected,请问问题出在哪里,怎么样才可以弄好呢,谢谢
在VMWare中安装了Solaris 9操作系统,补丁已经全部打上,oracle文件用的是solaris64_9.2.0.1.0.Disk1.cpio。环境变量和oracle安装前的准备工作全部完成。运行./runInstaller的时候,报错:“./runInstaller: syntax error at line 1: '(' unexpected”,请问个位高手如何解决????? 本人在同一个系统上安装oracle 8.1.7 for solaris的时候就就没有问题。 先谢谢先!
在solaris运行java -version 出现java: syntax error at line 1: `(' unexpected 是怎么回事啊?????!!!!