Hi All,
is it poosible to Print the error messages in colors.., i am using KSH...,
i have tried the following,
echo "\033[34m Hi This is Sam!!! \033[0m"
Hi This is Sam!!!
But, when i tried to redirect in to a log file, i am getting as follows,
echo "\033[34m Hi This is Sam!!! \033[0m" > sam.log
view sam.log
sam.log" [Read only] 1 line, 31 characters
^[[34m Hi This is Sikki!!! ^[[0m
The colors are not coming..
Could any one help me in this? Do i need to set up any env variables..,
Thanks
Sam