In reply to Jickson George Dsilva.

Hi Jickson, what operating system are you using? I tested all commands on a Linux machine, since the majority of our customers, at least in Latin America, run SAS on Linux. Yes, Nik's approach works in other UNIX-based systems.

Also, you can run this command to know if your terminal supports 256 colors and the color number, in my case my terminal only supports 8 colors:

( x=`tput op` y=`printf %$((${COLUMNS}-6))s`;for i in {0..256};do o=00$i;echo -e ${o:${#o}-3:3} `tput setaf $i;tput setab $i`${y// /=}$x;done; )

-Roberto