[remove emacs group when following up]
>> Why does (shell-command "test -t&&tty") get so far to tell me 'not a
>> tty'!?
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
$ help test
-t FD True if FD is opened on a terminal.
Not so optional with bash then.
You guys should unify them.
>> Wait, (shell-command "/usr/bin/test -t&&tty") doesn't get that
>> far, good.
Paul> Looks like /usr/bin/test is buggy.
_______________________________________________
Bug-coreutils mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-coreutils