From bedaa23460235a6d2ef570fd5cb083f7acab7e16 Mon Sep 17 00:00:00 2001 From: Cody Boone Ferguson <53008573+xexyl@users.noreply.github.com> Date: Wed, 19 Apr 2023 05:10:35 -0700 Subject: [PATCH] Format fixes in 1996/huffman/README.md --- 1996/huffman/README.md | 36 ++++++++++++++++++++++-------------- 1 file changed, 22 insertions(+), 14 deletions(-) diff --git a/1996/huffman/README.md b/1996/huffman/README.md index b448b7a7e..37d342918 100644 --- a/1996/huffman/README.md +++ b/1996/huffman/README.md @@ -1,29 +1,35 @@ # Best Obfuscated Character Set Utility - Ken Huffman - Applied Innovation Inc - 5800 Innovation Dr. - Dublin, OH 43016 - USA - - huffmancoding@gmail.com +Ken Huffman +Applied Innovation Inc +5800 Innovation Dr. +Dublin, OH 43016 +USA + +huffmancoding@gmail.com ## To build: - make all +```sh +make all +``` ## To run: - - echo 'Huffman Decoding' | ./huffman +```sh +echo 'Huffman Decoding' | ./huffman +``` NOTE: this program uses `gets()` so you will likely get a warning when compiling and/or running on modern systems. ## Try: - echo 'seeing or feeling is believing' | ./huffman - echo 'CC OR NOT CC' | ./huffman | ./huffman +```sh +echo 'seeing or feeling is believing' | ./huffman +echo 'CC OR NOT CC' | ./huffman +echo 'CC OR NOT CC' | ./huffman | ./huffman +``` ## 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: - ./huffman < huffman.c +```sh +./huffman < huffman.c +``` 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 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, undoes the original program filtering.