Subject: Bug #263: test -t
To: None <netbsd-bugs@sun-lamp.cs.berkeley.edu>
From: J.T. Conklin <jconklin@netcom.com>
List: netbsd-bugs
Date: 06/28/1994 21:09:33
Bug #263 complains about test -t (i.e. without the optional file
descriptor argument) causes a syntax error.
This bug was introduced when code was added to check to make sure that
unary operators had an argument. Unfortunately, the case where the
argument is optional was overlooked.
Unless someone is going to fix this before 1.0, I suggest that we revert
to the previous version. In that version, it failed when given improper
arguments; now it can fail when given valid arguments. I think the
latter case is worse than the former.
--jtc
------------------------------------------------------------------------------