echo - Print a string on the display.
echo string ?text attribute list?
Echo displays string to the user. If given a list text attributes as a second argument, they are applied to the echoed text. If an attribute in the list isn't valid, it is ignored. The display may or may not support all the attributes listed below.
- foreground
- red green blue yellow black magenta grey cyan
- background
- bg_red bg_green bg_blue bg_yellow bg_black bg_magenta bg_grey bg_cyan
- other
- bold underline blink reverse
echo "Christmas is here!" {bold green bg_red}
Print "Christmas is here!" in bold green with a red background.