On 1999-Dec-28 20:08:21 +1100, "Rodney W. Grimes" <[EMAIL PROTECTED]> wrote:
>The syntax is reasonable, as /bin/[ or /bin/test is about the only way
>one would overide a builtin [, should some shell implement test as
>a builtin.

Of course, that assumes that the shell doesn't have other
problems with its parsing:

$ zsh -c '[ 1 -ne 0 ] && echo correct' 
correct
$ zsh -c '/bin/[ 1 -ne 0 ] && echo correct' 
zsh: bad pattern: /bin/[
$

(Found by accident whilst looking into the original problem - I haven't,
but probably should, report it as a bug in zsh 3.0.5).

Peter
-- 
Peter Jeremy (VK2PJ)                    [EMAIL PROTECTED]
Alcatel Australia Limited
41 Mandible St                          Phone: +61 2 9690 5019
ALEXANDRIA  NSW  2015                   Fax:   +61 2 9690 5982


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message

Reply via email to