各位大虾。小弟遇到一个问题,请各位指教。这个问题是关于在shell环境下expr用法的, 在aix环境和solorias环境下的输出结果不同。详细如下: aix环境: $ len='abcdefg' export len $ echo $len abcdefg $ ll=`expr length $len` $ export ll $ echo $ll 7 $ uname AIX solorias环境: bash-3.00$ len='abcdefg' export len bash-3.00$ echo $len abcdefg bash-3.00$ ll=`expr length $len` export ll expr: syntax error bash-3...
今天第一天学数据库:mrgreen: , 创建个表就出错了。 [code]mirnadb=# CREATE TABLE mirna ( GROUP varchar(15), SEQ varchar(20), METHOD varchar(10), FEATHER varchar(15), CHR varchar(2), START int, END int, STRAND varchar(2), PHASE varchar(2), SCORE real, PVALUE_OG real, TRANSCRIPT_ID varchar(25), EXTERNAL_NAME, varchar(15) ); [/code] 出错信息如下, [code]ERROR: syntax error at or near "GROUP" LINE 2:...
在linux下编程经常出现syntax error使不能正常运行,比如: my_print() { printf("error"); } main() { my_print(); } 用gcc编译成功了但是在运行时在my_print()函数出现syntax error 编其他的函数也是,不是系统调用的函数就会出现syntax error
AT&T Assembly syntax By vivek Updated: May/10 '06 This article is a 'quick-n-dirty' introduction to the AT&T assembly language syntax, as implemented in the GNU Assembler as(1). For the first timer the AT&T syntax may seem a bit confusing, but if you have any kind of assembly language programming background, it's easy to catch up once you have a few rules in mind. I assume you have some familiar...
在两台不同的服务器上运行sp_syntax command,其中有一台报错说: 没找到存贮过程'sp_syntax'。请指定owner.objectname或使用sp_help来检查对象是否存在(sp_help也许产生大量输出)。 请问是怎么回事,跟安装sybase时多加的一级目录有关吗? 一般sybase是安装在sybase用户的目录下,而我在安装时在sybase下又加了一级目录,即/export/home/sybase/XXX/bin
我写了个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...
大家好,我用busybox编译的一个根文件系统, 我有一个脚本里面有一行代码如下 [code]LINECOUNT=$(($LINECOUNT+1))[/code] 我执行这个脚本的时候提示 syntax error: you disabled math support for $((arith)) syntax 错误。 busybox编译的时候,我选择的是ash。 不知道上述错误是如何产生的,该如何解决呢?谢谢
#include
Zaptel.conf span syntax Zaptel.conf span definition format span definition format: span=(spannum),(timing),(LBO),(framing),(coding) spannum= Number of the span. This begins at 1, and goes up one integer at a time. You may NOT have two spans with the same span number. timing= How to synchronise the timing devices. 0: to not use this span as sync source; Send timing synchronisation to other en...
刚刚接触LDAP。用的是SUSE10.1自带的LDAP。 源文件: [code]# # See slapd.conf(5) for details on configuration options. # This file should NOT be world readable. # include /etc/openldap/schema/core.schema include /etc/openldap/schema/cosine.schema include /etc/openldap/schema/inetorgperson.schema include /etc/openldap/schema/rfc2307bis.schema include /etc/openldap/schema/yast.schema # Define glo...