]> git.refcnt.org Git - colorize.git/commitdiff
Sort color names elsewhere
authorSteven Schubiger <stsc@refcnt.org>
Mon, 9 Dec 2013 17:11:44 +0000 (18:11 +0100)
committerSteven Schubiger <stsc@refcnt.org>
Mon, 9 Dec 2013 17:11:44 +0000 (18:11 +0100)
colorize.1
test.pl

index 4fa99fd1a897ff10bbd90fdac95d95f53333c240..db44d8f8d71684e776680ee445bcc81a11df507e 100644 (file)
@@ -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
diff --git a/test.pl b/test.pl
index 49a0cf38fae6cce73c46f4f00b5a97673137ad01..01d77ed3d98409a88275e671f3efc5ad96081b68 100755 (executable)
--- a/test.pl
+++ b/test.pl
@@ -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;