Command Line Coloring


I thought I could have “sed” the command line console output “SUCCESS” or “FAILURE” and substitute it with aprobriate xterm colors.

Well, I am able to do this with a simple “ls”, but not with “./runscript”.

Any ideas, how to achieve this?

As far as I know, you would need to direct the output of the runscript to a file and then you could run that through sed to colorize it.