From 4ff7de954891bd8b72268d20f5150240994283d0 Mon Sep 17 00:00:00 2001 From: Steven Schubiger Date: Tue, 11 Apr 2017 19:30:07 +0200 Subject: Add plain documentation --- doc/colorize.html | 120 +++++++++++++++++++++++++++------ doc/colorize/colorize1.jpg | Bin 66122 -> 0 bytes doc/colorize/colorize2.jpg | Bin 89905 -> 0 bytes doc/colorize/colorize3.jpg | Bin 47544 -> 0 bytes doc/colorize/colorize4.jpg | Bin 92907 -> 0 bytes doc/colorize/colorize5.jpg | Bin 94661 -> 0 bytes doc/colorize/colorize6.jpg | Bin 89341 -> 0 bytes doc/colorize/colorize7.jpg | Bin 28659 -> 0 bytes doc/colorize/colorize8.jpg | Bin 24146 -> 0 bytes doc/screenshots/colorize.html | 20 ++++++ doc/screenshots/colorize/colorize1.jpg | Bin 0 -> 66122 bytes doc/screenshots/colorize/colorize2.jpg | Bin 0 -> 89905 bytes doc/screenshots/colorize/colorize3.jpg | Bin 0 -> 47544 bytes doc/screenshots/colorize/colorize4.jpg | Bin 0 -> 92907 bytes doc/screenshots/colorize/colorize5.jpg | Bin 0 -> 94661 bytes doc/screenshots/colorize/colorize6.jpg | Bin 0 -> 89341 bytes doc/screenshots/colorize/colorize7.jpg | Bin 0 -> 28659 bytes doc/screenshots/colorize/colorize8.jpg | Bin 0 -> 24146 bytes 18 files changed, 121 insertions(+), 19 deletions(-) delete mode 100644 doc/colorize/colorize1.jpg delete mode 100644 doc/colorize/colorize2.jpg delete mode 100644 doc/colorize/colorize3.jpg delete mode 100644 doc/colorize/colorize4.jpg delete mode 100644 doc/colorize/colorize5.jpg delete mode 100644 doc/colorize/colorize6.jpg delete mode 100644 doc/colorize/colorize7.jpg delete mode 100644 doc/colorize/colorize8.jpg create mode 100644 doc/screenshots/colorize.html create mode 100644 doc/screenshots/colorize/colorize1.jpg create mode 100644 doc/screenshots/colorize/colorize2.jpg create mode 100644 doc/screenshots/colorize/colorize3.jpg create mode 100644 doc/screenshots/colorize/colorize4.jpg create mode 100644 doc/screenshots/colorize/colorize5.jpg create mode 100644 doc/screenshots/colorize/colorize6.jpg create mode 100644 doc/screenshots/colorize/colorize7.jpg create mode 100644 doc/screenshots/colorize/colorize8.jpg (limited to 'doc') diff --git a/doc/colorize.html b/doc/colorize.html index 3b0aaba..8084cc7 100644 --- a/doc/colorize.html +++ b/doc/colorize.html @@ -1,20 +1,102 @@ - - - - - colorize Screenshots - - - - - - - - - - - -
1
2
3
4
5
6
7
8
- + + + + + + +colorize + + +
+[sts@apollo ~/colorize]$ ./colorize --help
+Usage: ./colorize (foreground) OR (foreground)/(background) OR --clean[-all] [-|file]
+
+	Colors (foreground) (background)
+		{-} none         none
+		{#} [Bb]lack     black
+		{#} [Rr]ed       red
+		{#} [Gg]reen     green
+		{#} [Yy]ellow    yellow
+		{#} [Bb]lue      blue
+		{#} [Mm]agenta   magenta
+		{#} [Cc]yan      cyan
+		{#} [Ww]hite     white
+		{#} [Dd]efault   default
+		{*} [Rr]andom    random [--exclude-random=<foreground color>]
+
+	First character of color name in upper case denotes increased intensity,
+	whereas for lower case colors will be of normal intensity.
+
+	Options
+		    --clean
+		    --clean-all
+		    --exclude-random
+		-h, --help
+		-V, --version
+
+
+[sts@apollo ~/colorize]$ ./colorize cyan /etc/motd
+
+The programs included with the Debian GNU/Linux system are free software;
+the exact distribution terms for each program are described in the
+individual files in /usr/share/doc/*/copyright.
+
+Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
+permitted by applicable law.
+
+
+[sts@apollo ~/colorize]$ ./colorize cyan /etc/motd | ./colorize --clean
+
+The programs included with the Debian GNU/Linux system are free software;
+the exact distribution terms for each program are described in the
+individual files in /usr/share/doc/*/copyright.
+
+Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
+permitted by applicable law.
+
+
+[sts@apollo ~/colorize]$ ./colorize Yellow /etc/motd
+
+The programs included with the Debian GNU/Linux system are free software;
+the exact distribution terms for each program are described in the
+individual files in /usr/share/doc/*/copyright.
+
+Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
+permitted by applicable law.
+
+
+[sts@apollo ~/colorize]$ ./colorize white/blue /etc/motd
+
+The programs included with the Debian GNU/Linux system are free software;
+the exact distribution terms for each program are described in the
+individual files in /usr/share/doc/*/copyright.
+
+Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
+permitted by applicable law.
+
+
+[sts@apollo ~/colorize]$ ./colorize --exclude-random=black random /etc/motd
+
+The programs included with the Debian GNU/Linux system are free software;
+the exact distribution terms for each program are described in the
+individual files in /usr/share/doc/*/copyright.
+
+Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
+permitted by applicable law.
+
+
+[sts@apollo ~/colorize]$ ./colorize green /etc/motd | head -n2 | tail -n1
+The programs included with the Debian GNU/Linux system are free software;
+
+
+[sts@apollo ~/colorize]$ ./colorize --version
+colorize v0.59-16-gf340b58 (compiled at Mar 18 2017, 00:08:31)
+Compiler flags: "-ansi -pedantic "
+Linker flags: ""
+Preprocessor flags: ""
+Buffer size: 4K
+Color separator: '/'
+Debugging: no
+
+ diff --git a/doc/colorize/colorize1.jpg b/doc/colorize/colorize1.jpg deleted file mode 100644 index 32b5e66..0000000 Binary files a/doc/colorize/colorize1.jpg and /dev/null differ diff --git a/doc/colorize/colorize2.jpg b/doc/colorize/colorize2.jpg deleted file mode 100644 index 085379b..0000000 Binary files a/doc/colorize/colorize2.jpg and /dev/null differ diff --git a/doc/colorize/colorize3.jpg b/doc/colorize/colorize3.jpg deleted file mode 100644 index 3a9a72b..0000000 Binary files a/doc/colorize/colorize3.jpg and /dev/null differ diff --git a/doc/colorize/colorize4.jpg b/doc/colorize/colorize4.jpg deleted file mode 100644 index 17a0ca8..0000000 Binary files a/doc/colorize/colorize4.jpg and /dev/null differ diff --git a/doc/colorize/colorize5.jpg b/doc/colorize/colorize5.jpg deleted file mode 100644 index 01b1857..0000000 Binary files a/doc/colorize/colorize5.jpg and /dev/null differ diff --git a/doc/colorize/colorize6.jpg b/doc/colorize/colorize6.jpg deleted file mode 100644 index 6536717..0000000 Binary files a/doc/colorize/colorize6.jpg and /dev/null differ diff --git a/doc/colorize/colorize7.jpg b/doc/colorize/colorize7.jpg deleted file mode 100644 index 48eb0c3..0000000 Binary files a/doc/colorize/colorize7.jpg and /dev/null differ diff --git a/doc/colorize/colorize8.jpg b/doc/colorize/colorize8.jpg deleted file mode 100644 index 2f1eb86..0000000 Binary files a/doc/colorize/colorize8.jpg and /dev/null differ diff --git a/doc/screenshots/colorize.html b/doc/screenshots/colorize.html new file mode 100644 index 0000000..3b0aaba --- /dev/null +++ b/doc/screenshots/colorize.html @@ -0,0 +1,20 @@ + + + + + colorize Screenshots + + + + + + + + + + + +
1
2
3
4
5
6
7
8
+ + diff --git a/doc/screenshots/colorize/colorize1.jpg b/doc/screenshots/colorize/colorize1.jpg new file mode 100644 index 0000000..32b5e66 Binary files /dev/null and b/doc/screenshots/colorize/colorize1.jpg differ diff --git a/doc/screenshots/colorize/colorize2.jpg b/doc/screenshots/colorize/colorize2.jpg new file mode 100644 index 0000000..085379b Binary files /dev/null and b/doc/screenshots/colorize/colorize2.jpg differ diff --git a/doc/screenshots/colorize/colorize3.jpg b/doc/screenshots/colorize/colorize3.jpg new file mode 100644 index 0000000..3a9a72b Binary files /dev/null and b/doc/screenshots/colorize/colorize3.jpg differ diff --git a/doc/screenshots/colorize/colorize4.jpg b/doc/screenshots/colorize/colorize4.jpg new file mode 100644 index 0000000..17a0ca8 Binary files /dev/null and b/doc/screenshots/colorize/colorize4.jpg differ diff --git a/doc/screenshots/colorize/colorize5.jpg b/doc/screenshots/colorize/colorize5.jpg new file mode 100644 index 0000000..01b1857 Binary files /dev/null and b/doc/screenshots/colorize/colorize5.jpg differ diff --git a/doc/screenshots/colorize/colorize6.jpg b/doc/screenshots/colorize/colorize6.jpg new file mode 100644 index 0000000..6536717 Binary files /dev/null and b/doc/screenshots/colorize/colorize6.jpg differ diff --git a/doc/screenshots/colorize/colorize7.jpg b/doc/screenshots/colorize/colorize7.jpg new file mode 100644 index 0000000..48eb0c3 Binary files /dev/null and b/doc/screenshots/colorize/colorize7.jpg differ diff --git a/doc/screenshots/colorize/colorize8.jpg b/doc/screenshots/colorize/colorize8.jpg new file mode 100644 index 0000000..2f1eb86 Binary files /dev/null and b/doc/screenshots/colorize/colorize8.jpg differ -- cgit v1.2.3