Add 1987/heckbert/try.sh
The script runs a variety of commands to show how it can fold files (mostly itself) into different column lengths but it also shows how that folded code can recreate the original (uses diff -s). It also asks a question that was in the try section as well.
This commit is contained in:
1 parent
df22315198
commit
9223a14012
3 files changed
+63
-9
No files matched your search
@@ -510,6 +510,9 @@ There might have been other changes as well.
|
||||
[Cody](#cody) made this look more like the original entry by restoring the `#define` of
|
||||
`define`. It's not used but it now looks closer to the original.
|
||||
|
||||
Cody also added the [try.sh](1987/heckbert/try.sh) script which shows how the
|
||||
program works but also how the folded code can recreate the original.
|
||||
|
||||
Also because `index(3)` is deprecated and in some systems requires the inclusion
|
||||
of `strings.h` and because it's identical in use to `strchr(3)` (and we noted
|
||||
that for System V we had to do this) Cody added to the Makefile
|
||||
|
||||
Reference in new issue
Block a user