Color script output cross-platform

suggest change


tput queries the terminfo database for terminal-dependent information.

From tput on Wikipedia:

In computing, tput is a standard Unix operating system command which makes use of terminal capabilities.

Depending on the system, tput uses the terminfo or termcap database, as well as looking into the environment for the terminal type.

from Bash Prompt HOWTO: Chapter 6. ANSI Escape Sequences: Colours and Cursor Movement:

Feedback about page:

Optional: your email if you want me to get back to you:

Table Of Contents