-t fd True if file descriptor fd is open and refers to a
terminal.
$? is found at char 1 of my next prompt:
1/tmp$ test -t a
0/tmp$ test -t addsds
0/tmp$ test -t 11
1/tmp$ test -t /dev/tty
0/tmp$ test -t /dev/tty4
0/tmp$ test -t /dev/tty4444444...
only the results for test -t 11 and test -t /dev/tty am I happy with
Also, I was hoping the test 'help' and 'man' information would say what
happens when fd is ommitted, i.e. test -t
--
http://www.geocities.com/jidanni Tel886-4-25854780 e-mail:restore .com.