Various coloring scripts
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

6 lines
372 B

#!/usr/bin/tclsh
while {[gets stdin text] >= 0} {
puts [string map {%^RED%^ {} %^B_RED%^ {} %^BLUE%^ {} %^B_BLUE%^ {} %^ORANGE%^ {} %^B_ORANGE%^ {} %^YELLOW%^ {} %^GREEN%^ {} %^B_GREEN%^ {} %^BLACK%^ {} %^B_BLACK%^ {} %^WHITE%^ {} %^B_WHITE%^ {} %^CYAN%^ {} %^B_CYAN%^ {} %^MAGENTA%^ {} %^B_MAGENTA%^ {} %^YELLOW%^ {} %^BOLD%^ {} %^ULINE%^ {} %^RESET%^ {}} $text]
}