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:
Cody Boone Ferguson committed 2024-01-05 06:43:39 -08:00
1 parent df22315198
commit 9223a14012
3 files changed
+63 -9

No files matched your search

+1 -9
View File
@@ -20,15 +20,7 @@ where col is the number of columns to fold at and file is the file to fold.
### Try:
```sh
./heckbert 40 < heckbert.c > ph.c; make ph
./ph 21 < heckbert.c > bar.c; make bar
```
Ask yourself what happens to `foo.md` if you try:
```sh
./ph 40 < README.md > foo.md
./try.sh
```