Add 2011/zucker/try.sh

This commit is contained in:
Cody Boone Ferguson committed 2024-01-24 08:46:25 -08:00
1 parent 3b0a3b12a0
commit 48e7331f57
3 files changed
+45 -6

No files matched your search

+5 -3
View File
@@ -14,15 +14,17 @@ binary mode from text mode. See [alternate code](#alternate-code) below.
./zucker > image.ppm
```
Now open `image.ppm` with your image viewer of choice.
## Try:
```sh
./zucker "Hello\!\!\!" > hello.ppm
./zucker faster\! -preview > image2.ppm
./try.sh
```
Display the PPM image with your favorite image viewer.
After running `try.sh`, open the PPM images `ioccc.ppm`, `hello.ppm` and
`image2.ppm` with your image viewer of choice.
## Alternate code: