> Are you asking for a way to detect whether the output is > going to a terminal versus a file? With bash you might say > "help test" and see if the "-t FD" test isn't approximately > what you're looking for.
Thanks to all for the answers. I think the test -t is exactly what I'm looking for. Yes I need to detect a terminal versus a file. The script is outputting some escape characters that shouldn't be there in the file. Thanks! Warren ***************************************************************** To unsubscribe from this list, send mail to [EMAIL PROTECTED] with the text 'unsubscribe gnhlug' in the message body. *****************************************************************
