Paul Eggert <address@hidden> wrote:
> POSIX long ago decided that FD is not optional with test -t. GNU
> 'test' conforms to POSIX in this respect.
bash's does, but coreutils' doesn't.
$ /bin/test -t > /dev/null ; echo $?
1
$ /bin/test --version
test (GNU coreutils) 5.0
Written by FIXME: ksb and mjb.
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
paul