diff options
author | Steven Schubiger <stsc@refcnt.org> | 2013-12-09 18:11:44 +0100 |
---|---|---|
committer | Steven Schubiger <stsc@refcnt.org> | 2013-12-09 18:11:44 +0100 |
commit | 9a1c3657772d04b82aee08b30af9c53e2f2c7a3e (patch) | |
tree | 82c53e22e1f6f19aa8895c7cf1fb0fc8a29dbc16 | |
parent | 20334d6175dace7f23ee9f6cffc47790fef86dc7 (diff) | |
download | colorize-9a1c3657772d04b82aee08b30af9c53e2f2c7a3e.tar.gz colorize-9a1c3657772d04b82aee08b30af9c53e2f2c7a3e.tar.bz2 |
Sort color names elsewhere
-rw-r--r-- | colorize.1 | 6 | ||||
-rwxr-xr-x | test.pl | 2 |
2 files changed, 4 insertions, 4 deletions
@@ -1,4 +1,4 @@ -.TH COLORIZE 1 "2013-10-20" "colorize v0.52" "User Commands" +.TH COLORIZE 1 "2013-12-09" "colorize v0.52" "User Commands" .SH NAME colorize \- colorize text with escape sequences .SH SYNOPSIS @@ -15,8 +15,8 @@ escape sequences (and also vice versa, i.e. cleaning text from sequences) and prints resulting output to the terminal. .PP When colorizing text, (foreground) and eventually (background) may be either -one of following color values: none, black, red, green, yellow, blue, cyan, -magenta, white, default or random. First character of color name in upper +one of following color values: none, black, red, green, yellow, blue, magenta, +cyan, white, default or random. First character of color name in upper case denotes increased intensity, whereas for lower case colors will be of normal intensity. If "none" is chosen, no escape sequences will be emitted. .PP @@ -169,7 +169,7 @@ SKIP: { Colors ====== EOT - foreach my $color (qw(none black red green yellow blue cyan magenta white default random)) { + foreach my $color (qw(none black red green yellow blue magenta cyan white default random)) { system("echo $color | $program $color"); next if $color eq 'none'; my $bold_color = ucfirst $color; |