> > DO NOT EVER SEND BINARY DATA TO STDOUT, BAD!
> It's easy to check whether stdout is a terminal, lookup isatty(3C). I > agree that sending binary data to the terminal is a bad thing. (GNU zip > does this check when you feed it data from stdin.) I wasn't implying that precautions couldn't be taken, simply that before implementing a solution involving the possibility of sending binary data to STDOUT, that these precautions should be implemented. /d