]> git.refcnt.org Git - colorize.git/blob - doc/colorize.html
8084cc7f3e7bbd5d835b580628760d41d32579a1
[colorize.git] / doc / colorize.html
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">
5 <head>
6 <meta http-equiv="Content-Type" content="application/xml+xhtml; charset=UTF-8" />
7 <title>colorize</title>
8 </head>
9 <body style="color:white; background-color:black">
10 <pre>
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]
13
14 Colors (foreground) (background)
15 {-} none none
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=&lt;foreground color&gt;]
26
27 First character of color name in upper case denotes increased intensity,
28 whereas for lower case colors will be of normal intensity.
29
30 Options
31 --clean
32 --clean-all
33 --exclude-random
34 -h, --help
35 -V, --version
36 </pre>
37 <pre>
38 <span style="color:yellow;font-weight:bold;">[sts@apollo ~/colorize]$</span> ./colorize cyan /etc/motd
39 <span style="color:aqua;"></span>
40 <span style="color:aqua;">The programs included with the Debian GNU/Linux system are free software;</span>
41 <span style="color:aqua;">the exact distribution terms for each program are described in the</span>
42 <span style="color:aqua;">individual files in /usr/share/doc/*/copyright.</span>
43 <span style="color:aqua;"></span>
44 <span style="color:aqua;">Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent</span>
45 <span style="color:aqua;">permitted by applicable law.</span>
46 </pre>
47 <pre>
48 <span style="color:yellow;font-weight:bold;">[sts@apollo ~/colorize]$</span> ./colorize cyan /etc/motd | ./colorize --clean
49
50 The programs included with the Debian GNU/Linux system are free software;
51 the exact distribution terms for each program are described in the
52 individual files in /usr/share/doc/*/copyright.
53
54 Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
55 permitted by applicable law.
56 </pre>
57 <pre>
58 <span style="color:yellow;font-weight:bold;">[sts@apollo ~/colorize]$</span> ./colorize Yellow /etc/motd
59 <span style="color:yellow;font-weight:bold;"></span>
60 <span style="color:yellow;font-weight:bold;">The programs included with the Debian GNU/Linux system are free software;</span>
61 <span style="color:yellow;font-weight:bold;">the exact distribution terms for each program are described in the</span>
62 <span style="color:yellow;font-weight:bold;">individual files in /usr/share/doc/*/copyright.</span>
63 <span style="color:yellow;font-weight:bold;"></span>
64 <span style="color:yellow;font-weight:bold;">Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent</span>
65 <span style="color:yellow;font-weight:bold;">permitted by applicable law.</span>
66 </pre>
67 <pre>
68 <span style="color:yellow;font-weight:bold;">[sts@apollo ~/colorize]$</span> ./colorize white/blue /etc/motd
69 <span style="background-color:#3333FF;"></span><span style="color:white;background-color:#3333FF;"></span>
70 <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>
71 <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>
72 <span style="background-color:#3333FF;"></span><span style="color:white;background-color:#3333FF;">individual files in /usr/share/doc/*/copyright.</span>
73 <span style="background-color:#3333FF;"></span><span style="color:white;background-color:#3333FF;"></span>
74 <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>
75 <span style="background-color:#3333FF;"></span><span style="color:white;background-color:#3333FF;">permitted by applicable law.</span>
76 </pre>
77 <pre>
78 <span style="color:yellow;font-weight:bold;">[sts@apollo ~/colorize]$</span> ./colorize --exclude-random=black random /etc/motd
79 <span style="color:red;"></span>
80 <span style="color:red;">The programs included with the Debian GNU/Linux system are free software;</span>
81 <span style="color:red;">the exact distribution terms for each program are described in the</span>
82 <span style="color:red;">individual files in /usr/share/doc/*/copyright.</span>
83 <span style="color:red;"></span>
84 <span style="color:red;">Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent</span>
85 <span style="color:red;">permitted by applicable law.</span>
86 </pre>
87 <pre>
88 <span style="color:yellow;font-weight:bold;">[sts@apollo ~/colorize]$</span> ./colorize green /etc/motd | head -n2 | tail -n1
89 <span style="color:lime;">The programs included with the Debian GNU/Linux system are free software;</span>
90 </pre>
91 <pre>
92 <span style="color:yellow;font-weight:bold;">[sts@apollo ~/colorize]$</span> ./colorize --version
93 colorize v0.59-16-gf340b58 (compiled at Mar 18 2017, 00:08:31)
94 Compiler flags: &quot;-ansi -pedantic &quot;
95 Linker flags: &quot;&quot;
96 Preprocessor flags: &quot;&quot;
97 Buffer size: 4K
98 Color separator: '/'
99 Debugging: no
100 </pre>
101 </body>
102 </html>