Updates to 1996/huffman - format + bugs + try.sh
The try.sh script runs the commands in the try section. It does not run the spoiler command in the judges' remarks as that didn't feel like a good idea. The README.md has been typo and format checked. Added to bugs.md to try and change to use fgets(3). In the meantime it uses 2>/dev/null.
This commit is contained in:
1 parent
3ca67b08ff
commit
760e5ddd32
5 files changed
+75
-9
No files matched your search
Executable
+13
@@ -0,0 +1,13 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
make all >/dev/null || exit 1
|
||||
|
||||
|
||||
echo "$ echo 'seeing or feeling is believing' | ./huffman" 1>&2
|
||||
echo 'seeing or feeling is believing' | ./huffman 2>/dev/null
|
||||
|
||||
echo "$ echo 'CC OR NOT CC' | ./huffman" 1>&2
|
||||
echo 'CC OR NOT CC' | ./huffman 2>/dev/null
|
||||
|
||||
echo "$ $ echo 'CC OR NOT CC' | ./huffman | ./huffman" 1>&2
|
||||
echo 'CC OR NOT CC' | ./huffman 2>/dev/null | ./huffman 2>/dev/null
|
||||
Reference in new issue
Block a user