Hi,
Can anybody please help me how can we can we have the colored output using awk.
I am writing a script in solaris platform. but its not printing the colored output. its assuming hex values as character
awk -F"|" '{ print "\033[1;31m" $0 "\033[0m" }' aa
\033[1;31mabcd|efg\033[0m
\033[1;31mabcd|efg\033[0m
\033[1;31mabcd|efg\033[0m
\033[1;31mabcd|efg\033[0m
\033[1;31mabcd|efg\033[0m
\033[1;31mabcd|efg\033[0m