Subject: Re: Bug #263: test -t
To: J.T. Conklin <jconklin@netcom.com>
From: J.T. Conklin <jconklin@netcom.com>
List: netbsd-bugs
Date: 06/28/1994 23:23:29
> Bug #263 complains about test -t (i.e. without the optional file 
> descriptor argument) causes a syntax error.

On the other hand, I just looked up test in my trusty POSIX.2 standard 
and found that the file descriptor argument is no longer considered 
optional.

The rationale states "The -t file_descriptor" primary is shown with a 
manditory argument because the grammar is ambigous if it can be ommited.  
Historical implementations allowed it to be ommited, providing a default
of 1.

So what do we do next?  I'm inclined to agree with the POSIX.2 commitees
reasoning on this one.

	--jtc


------------------------------------------------------------------------------