[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Scripting problem "syntax error in expression (error token is "0 0 - + 95 ")"



Well, im in the office.
And we have this "so-called" pc windows machine :)

and i copy it using putty "search google.com"
and i ssh on our other box :)

cool!?


thnx :)

louie...

----- Original Message -----
From: "Erik Ljungström" <erik.ljungstrom@metalab.unc.edu>
To: "louie miranda" <louie@noc.chikka.com>
Cc: <debian-user@lists.debian.org>
Sent: Friday, June 28, 2002 10:11 AM
Subject: Re: Scripting problem "syntax error in expression (error token is
"0 0 - + 95 ")"


>
>
> On Fri, 28 Jun 2002 10:06:20 +0800
> "louie miranda" <louie@noc.chikka.com> 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:
> insight@metalab.unc.edu
> Alternative:
> alfons@sverige.com
>
>
> --
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
listmaster@lists.debian.org
>
>


-- 
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: