Date: Sat, 26 Jul 2003 00:41:35 +0200 From: "Peter Rosa" <prosa@pro.sk> To: "Dan Nelson" <dnelson@allantgroup.com> Cc: freebsd-questions <freebsd-questions@freebsd.org> Subject: Re: Problem with periodically done scripts Message-ID: <039b01c352fd$e737c060$3501a8c0@pro.sk> References: <20030725222200.GA2484@dan.emsphone.com><037d01c352fc$67001240$3501a8c0@pro.sk> <20030725223332.GC2484@dan.emsphone.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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@allantgroup.com> To: "Peter Rosa" <prosa@pro.sk> Cc: "freebsd-questions" <freebsd-questions@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@allantgroup.com > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?039b01c352fd$e737c060$3501a8c0>