Problem with periodically done scripts

Peter Rosa prosa at pro.sk
Fri Jul 25 15:42:14 PDT 2003


You are right. We are so close the solution...

But WHY is $rc empty ? As you can see in my previous mail I send whole
security script, it is set in the beginning of script and then it is set
along whole script at least 10 times (using && or =). So it should not be
empty...

Peter


----- Original Message -----
From: "Dan Nelson" <dnelson at allantgroup.com>
To: "Peter Rosa" <prosa at pro.sk>
Cc: "freebsd-questions" <freebsd-questions at freebsd.org>
Sent: Saturday, July 26, 2003 12:33 AM
Subject: Re: Problem with periodically done scripts


> In the last episode (Jul 26), Peter Rosa said:
> > And what's wrong on [ 0 -gt 0 -a -lt 0].
>
> -lt needs a number in front of it, since it does a less-than comparison.
>
> > > > Could you, please, explain the following line: [ $n -gt 0 -a $rc -lt
1 ]
>
> ... which means that $rc is probably empty.
>
> --
> Dan Nelson
> dnelson at allantgroup.com
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
"freebsd-questions-unsubscribe at freebsd.org"
>



More information about the freebsd-questions mailing list