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" <[EMAIL PROTECTED]>
To: "Peter Rosa" <[EMAIL PROTECTED]>
Cc: "freebsd-questions" <[EMAIL PROTECTED]>
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
> [EMAIL PROTECTED]
> _______________________________________________
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
"[EMAIL PROTECTED]"
>

_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to