While not identical to your requirements, this earlier question would be worth a read, where someone wanted to differentiate stdout/stderr by color.
steve
- 22.3k
- 5
- 53
- 79