And what's wrong on [ 0 -gt 0 -a -lt 0].
----- Original Message -----
From: "Dan Nelson" <[EMAIL PROTECTED]>
To: "Peter Rosa" <[EMAIL PROTECTED]>
Cc: "freebsd-questions" <[EMAIL PROTECTED]>
Sent: Saturday, July 26, 2003 12:22 AM
Subject: Re: Problem with periodically done scripts
> In the last episode (Jul 26), Peter Rosa said:
> > Dear Gilbert,
> > I have replaced wc with make install from /usr/src/usr.bin/wc and now it
> > works. Up now wc -l gave no results, now it give proper number.
> > Could you, please, explain the following line: [ $n -gt 0 -a $rc -lt 1 ]
> > Why are there  ? When I write it at prompt as
> > [0 -gt 0 -a - lt 0] it writes [: 0: unexpected operator, but
> > [0 -gt 0 -a -lt ] writes nothing.
> [ is another way to run the "test" command. "man test" for more info.
> Dan Nelson
> [EMAIL PROTECTED]
> [EMAIL PROTECTED] mailing list
> To unsubscribe, send any mail to
[EMAIL PROTECTED] mailing list
To unsubscribe, send any mail to "[EMAIL PROTECTED]"