But inside /bin is command named [

Is it what do you mean ? Or it should not be there and act only as an alias
?

Peter Rosa



----- 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
> 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