Simple 'echo' replacement with color support |
|
printc
|
|
Notes:Usage: printc "whatever [h]text [-]you like [green]using colors [-]or not __Color codes:__ [-] [b] [h] [d] - default, bold, highlight, dimmed [e] [s] [w] - error, success, warning [le] [ls] - error (light), success (light) [blink] [noblink] - depending on os [black] [blue] [green] [cyan] [red] [magenta] [brown] [yellow] [white] [lgrey] [dgrey] [lblue] [lgreen] [lcyan] [lred] [lmagenta] and all of the above with a postfixed 'bg' to set the background color, eg. [bluebg] __Examples:__ printc [b][bluebg]Hello, [yellow]world [b]... printc httpd: [lgreen]restarting printc [lred]error: [-]file could not be found When 'printc' is called //without parameters// it shows nothing. Downloads:
printc-110707.zip (52 kB)
13 ¼ years ago
printc-121024.zip (50 kB)
12 years ago
printc-190119.zip (70 kB)
6 ¾ years ago
Pictures: (click to enlarge) |