48 reputation
4
bio website
location
age
visits member for 2 years, 4 months
seen Apr 5 '13 at 21:03

Jan
7
awarded  Popular Question
Aug
21
comment Using sed to color the output from a command on solaris
This is better than my current implementation in that it does not print raw ascii codes on solaris. However (for whatever reason), it doesn't color the output of 'somecommand' on solaris. It does on linux. I have accepted @Gilles answer, which does both. Thank you.
Aug
21
awarded  Scholar
Aug
21
awarded  Supporter
Aug
21
accepted Using sed to color the output from a command on solaris
Aug
20
comment Using sed to color the output from a command on solaris
thanks for the response. As I said earlier, I can't change the echo command. 'echo' is just a stand-in for the process I'm calling, which I cannot change. Is it possible to use sed with tput somehow? Also, when I run that command on sunOS 5.10 I don't see any colors.
Aug
20
awarded  Student
Aug
20
asked Using sed to color the output from a command on solaris