Format fixes in 1996/huffman/README.md
This commit is contained in:
1 parent
65db8ce38d
commit
bedaa23460
1 file changed
+22
-14
+22
-14
@@ -1,29 +1,35 @@
|
|||||||
# Best Obfuscated Character Set Utility
|
# Best Obfuscated Character Set Utility
|
||||||
|
|
||||||
Ken Huffman
|
Ken Huffman
|
||||||
Applied Innovation Inc
|
Applied Innovation Inc
|
||||||
5800 Innovation Dr.
|
5800 Innovation Dr.
|
||||||
Dublin, OH 43016
|
Dublin, OH 43016
|
||||||
USA
|
USA
|
||||||
<http://www.huffmancoding.com>
|
<http://www.huffmancoding.com>
|
||||||
huffmancoding@gmail.com
|
huffmancoding@gmail.com
|
||||||
|
|
||||||
## To build:
|
## To build:
|
||||||
|
|
||||||
make all
|
```sh
|
||||||
|
make all
|
||||||
|
```
|
||||||
|
|
||||||
## To run:
|
## To run:
|
||||||
|
|
||||||
|
```sh
|
||||||
echo 'Huffman Decoding' | ./huffman
|
echo 'Huffman Decoding' | ./huffman
|
||||||
|
```
|
||||||
|
|
||||||
NOTE: this program uses `gets()` so you will likely get a warning when compiling
|
NOTE: this program uses `gets()` so you will likely get a warning when compiling
|
||||||
and/or running on modern systems.
|
and/or running on modern systems.
|
||||||
|
|
||||||
## Try:
|
## Try:
|
||||||
|
|
||||||
echo 'seeing or feeling is believing' | ./huffman
|
```sh
|
||||||
echo 'CC OR NOT CC' | ./huffman | ./huffman
|
echo 'seeing or feeling is believing' | ./huffman
|
||||||
|
echo 'CC OR NOT CC' | ./huffman
|
||||||
|
echo 'CC OR NOT CC' | ./huffman | ./huffman
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
## Judges' remarks:
|
## Judges' remarks:
|
||||||
@@ -35,7 +41,9 @@ And for a misleading hint, consider who won! :-)
|
|||||||
|
|
||||||
And if you really can't see what is going on, here is an extra spoiler:
|
And if you really can't see what is going on, here is an extra spoiler:
|
||||||
|
|
||||||
./huffman < huffman.c
|
```sh
|
||||||
|
./huffman < huffman.c
|
||||||
|
```
|
||||||
|
|
||||||
This entry was very well received at the IOCCC BOF.
|
This entry was very well received at the IOCCC BOF.
|
||||||
|
|
||||||
@@ -45,7 +53,7 @@ This filter program is really not obfuscated code. It compiles cleanly
|
|||||||
with an ANSI C compiler and comes with user documentation that even a
|
with an ANSI C compiler and comes with user documentation that even a
|
||||||
blind person could read.
|
blind person could read.
|
||||||
|
|
||||||
The program is a bi-directional filter with the output of the program
|
The program is a bidirectional filter with the output of the program
|
||||||
suitable for its input. The output of this program, when used as input,
|
suitable for its input. The output of this program, when used as input,
|
||||||
undoes the original program filtering.
|
undoes the original program filtering.
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user