On Fri, 28 Jun 2002 10:06:20 +0800 "louie miranda" <[EMAIL PROTECTED]> wrote:
> #!/bin/sh > S_CATXT1=`grep "Jun\ 28" /var/log/local1.1 |grep "READ: \^B20"|grep > 21:777 > |wc -` > S_CATXT2=`grep "Jun\ 28" /var/log/local1 |grep "READ: \^B20"|grep > 21:777 > |wc -l` > S_CATXT_T=$(( $S_CATXT1 + $S_CATXT2 )) > echo $S_CATXT_T > > appshost2:/noc/scripts# ./txtme-102 > ./txtsmart-102: 0 0 0 - + 95 : syntax error in > expression(error token is "0 0 - + 95 ") > > > Hi, my script contains this 2 variables > > S_CATXT1 > S_CATXT2 > > and, i only add it using $(( $S_CATXT1 + $S_CATXT2 )) > > but, i get error's. > > Any ideas? > > > > thnx, > louie... > > > Just curious, how can you script bash from windows? Or do you reboot and send you emails from Microsoft outlook express just for fun? -- Best regards, Erik Main: [EMAIL PROTECTED] Alternative: [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

