Dan Jacobson <[EMAIL PROTECTED]> writes: > $ man test > -t [FD] > file descriptor FD (stdout by default) is opened on a terminal > I.e. argument optional > > $ help test > -t FD True if FD is opened on a terminal. > Not so optional with bash then. > > You guys should unify them.
POSIX long ago decided that FD is not optional with test -t. GNU 'test' conforms to POSIX in this respect. This means GNU 'test' is incompatible with ancient Unix 'test', but that's life in the big city. The original specification had an ambiguous grammar, and POSIX removed the ambiguity by making FD required. Reference: http://www.opengroup.org/onlinepubs/007904975/utilities/test.html _______________________________________________ Bug-coreutils mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-coreutils
