I\'m writing a shell script that uses ANSI color characters on the command line.
Example: example.sh
#!/bin/tcsh printf \"\\033[31m Succ
As far as I know, there is no way to determine the final destination of the output of your shell script; the only thing you can do is provide a switch which allows for suppression of control characters in the output.