Utilities - color |
color - outputs an ANSI character attribute & color sequence
color outputs an ANSI character attribute & color sequence which are of the form^[[xx;xx;xxm
, where^[
is ancharacter and xx
are the proper character codes for attribute, background, and foreground character color. Each one is output as processed and errors are ignored.A useful little utility for adding a little color to otherwise dreary and drab scripts. However, color assumes that the ANSI attribute & color sequence means something to the terminal, i.e. that it has vt100-like capability. color outputs the sequence regardless whether to a terminal device or not.
Last Modified:
Brought to you by: R.K. Owen,Ph.D.
This page is http://owen.sj.ca.us/rkowen/sources/utils/color.html