1 <?xml version=
"1.0" encoding=
"UTF-8" ?>
2 <!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3 <!-- This file was created with the aha Ansi HTML Adapter. http://ziz.delphigl.com/tool_aha.php -->
4 <html xmlns=
"http://www.w3.org/1999/xhtml">
6 <meta http-equiv=
"Content-Type" content=
"application/xml+xhtml; charset=UTF-8" />
7 <title>colorize
</title>
9 <body style=
"color:white; background-color:black">
11 <span style=
"color:yellow;font-weight:bold;">[sts@apollo ~/colorize]$
</span> ./colorize --help
12 Usage: ./colorize (foreground) OR (foreground)/(background) OR --clean[-all] [-|file]
14 Colors (foreground) (background)
16 {
<span style=
"color:black;">#
</span>} [Bb]lack black
17 {
<span style=
"color:red;">#
</span>} [Rr]ed red
18 {
<span style=
"color:lime;">#
</span>} [Gg]reen green
19 {
<span style=
"color:yellow;">#
</span>} [Yy]ellow yellow
20 {
<span style=
"color:#3333FF;">#
</span>} [Bb]lue blue
21 {
<span style=
"color:fuchsia;">#
</span>} [Mm]agenta magenta
22 {
<span style=
"color:aqua;">#
</span>} [Cc]yan cyan
23 {
<span style=
"color:white;">#
</span>} [Ww]hite white
24 {
<span style=
"color:white;">#
</span>} [Dd]efault default
25 {*} [Rr]andom random [--exclude-random=
<foreground color
>]
27 First character of color name in upper case denotes increased intensity,
28 whereas for lower case colors will be of normal intensity.
31 --attr=ATTR1,ATTR2,...
34 --exclude-random=COLOR
40 <span style=
"color:yellow;font-weight:bold;">[sts@apollo ~/colorize]$
</span> ./colorize cyan /etc/motd
41 <span style=
"color:aqua;"></span>
42 <span style=
"color:aqua;">The programs included with the Debian GNU/Linux system are free software;
</span>
43 <span style=
"color:aqua;">the exact distribution terms for each program are described in the
</span>
44 <span style=
"color:aqua;">individual files in /usr/share/doc/*/copyright.
</span>
45 <span style=
"color:aqua;"></span>
46 <span style=
"color:aqua;">Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
</span>
47 <span style=
"color:aqua;">permitted by applicable law.
</span>
50 <span style=
"color:yellow;font-weight:bold;">[sts@apollo ~/colorize]$
</span> ./colorize cyan /etc/motd | ./colorize --clean
52 The programs included with the Debian GNU/Linux system are free software;
53 the exact distribution terms for each program are described in the
54 individual files in /usr/share/doc/*/copyright.
56 Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
57 permitted by applicable law.
60 <span style=
"color:yellow;font-weight:bold;">[sts@apollo ~/colorize]$
</span> ./colorize Yellow /etc/motd
61 <span style=
"color:yellow;font-weight:bold;"></span>
62 <span style=
"color:yellow;font-weight:bold;">The programs included with the Debian GNU/Linux system are free software;
</span>
63 <span style=
"color:yellow;font-weight:bold;">the exact distribution terms for each program are described in the
</span>
64 <span style=
"color:yellow;font-weight:bold;">individual files in /usr/share/doc/*/copyright.
</span>
65 <span style=
"color:yellow;font-weight:bold;"></span>
66 <span style=
"color:yellow;font-weight:bold;">Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
</span>
67 <span style=
"color:yellow;font-weight:bold;">permitted by applicable law.
</span>
70 <span style=
"color:yellow;font-weight:bold;">[sts@apollo ~/colorize]$
</span> ./colorize white/blue /etc/motd
71 <span style=
"background-color:#3333FF;"></span><span style=
"color:white;background-color:#3333FF;"></span>
72 <span style=
"background-color:#3333FF;"></span><span style=
"color:white;background-color:#3333FF;">The programs included with the Debian GNU/Linux system are free software;
</span>
73 <span style=
"background-color:#3333FF;"></span><span style=
"color:white;background-color:#3333FF;">the exact distribution terms for each program are described in the
</span>
74 <span style=
"background-color:#3333FF;"></span><span style=
"color:white;background-color:#3333FF;">individual files in /usr/share/doc/*/copyright.
</span>
75 <span style=
"background-color:#3333FF;"></span><span style=
"color:white;background-color:#3333FF;"></span>
76 <span style=
"background-color:#3333FF;"></span><span style=
"color:white;background-color:#3333FF;">Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
</span>
77 <span style=
"background-color:#3333FF;"></span><span style=
"color:white;background-color:#3333FF;">permitted by applicable law.
</span>
80 <span style=
"color:yellow;font-weight:bold;">[sts@apollo ~/colorize]$
</span> ./colorize --exclude-random=black random /etc/motd
81 <span style=
"color:red;"></span>
82 <span style=
"color:red;">The programs included with the Debian GNU/Linux system are free software;
</span>
83 <span style=
"color:red;">the exact distribution terms for each program are described in the
</span>
84 <span style=
"color:red;">individual files in /usr/share/doc/*/copyright.
</span>
85 <span style=
"color:red;"></span>
86 <span style=
"color:red;">Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
</span>
87 <span style=
"color:red;">permitted by applicable law.
</span>
90 <span style=
"color:yellow;font-weight:bold;">[sts@apollo ~/colorize]$
</span> ./colorize --attr=bold magenta /etc/motd
91 <span style=
"color:fuchsia;font-weight:bold;"></span>
92 <span style=
"color:fuchsia;font-weight:bold;">The programs included with the Debian GNU/Linux system are free software;
</span>
93 <span style=
"color:fuchsia;font-weight:bold;">the exact distribution terms for each program are described in the
</span>
94 <span style=
"color:fuchsia;font-weight:bold;">individual files in /usr/share/doc/*/copyright.
</span>
95 <span style=
"color:fuchsia;font-weight:bold;"></span>
96 <span style=
"color:fuchsia;font-weight:bold;">Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
</span>
97 <span style=
"color:fuchsia;font-weight:bold;">permitted by applicable law.
</span>
100 <span style=
"color:yellow;font-weight:bold;">[sts@apollo ~/colorize]$
</span> ./colorize green /etc/motd | head -n2 | tail -n1
101 <span style=
"color:lime;">The programs included with the Debian GNU/Linux system are free software;
</span>
104 <span style=
"color:yellow;font-weight:bold;">[sts@apollo ~/colorize]$
</span> ./colorize --version
105 colorize v0.63-
5-gadd8a17 (compiled at Feb
1 2018,
17:
05:
52)
106 Compiler flags:
"-ansi -pedantic
"
107 Linker flags:
""
108 Preprocessor flags:
""