Dan Jacobson <[EMAIL PROTECTED]> wrote: > Paul> With a single argument, test only tells you whether that arguments is > Paul> empty. You want "test -t 0" (or 1 or 2). > > $ man test > -t [FD] > file descriptor FD (stdout by default) is opened on a terminal > I.e. argument optional
Making it optional is historical, but violates SUSv3. (test --help and test --version also violate SUSv3.) paul _______________________________________________ Bug-coreutils mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-coreutils
