Hi,

Does anyone know how to detect where the output is going from within a
script?  That is, I want my script behave differently if I do:

% script.sh

or

% script.sh > myfile

Does anyone know how to do this in a shell script?

Thanks!

Warren


*****************************************************************
To unsubscribe from this list, send mail to [EMAIL PROTECTED]
with the text 'unsubscribe gnhlug' in the message body.
*****************************************************************

Reply via email to