From 4ffebe9a1db5bd4989f4dccfe14d6a6c96842299 Mon Sep 17 00:00:00 2001 From: Cody Boone Ferguson <53008573+xexyl@users.noreply.github.com> Date: Sun, 22 Oct 2023 08:58:57 -0700 Subject: [PATCH] Format fixes in 1985/sicherman/README.md --- 1985/sicherman/README.md | 30 +++++++++++++++++++++++++++--- 1 file changed, 27 insertions(+), 3 deletions(-) diff --git a/1985/sicherman/README.md b/1985/sicherman/README.md index 099594189..3ea910406 100644 --- a/1985/sicherman/README.md +++ b/1985/sicherman/README.md @@ -8,6 +8,13 @@ Col. G. L. Sicherman make all ``` +## To use: + +```sh +./sicherman < file + +echo foo | ./sicherman +``` ## Try: @@ -15,18 +22,35 @@ make all ./sicherman < sicherman.c echo IOCCC | ./sicherman + +./sicherman < sicherman.c | ./sicherman ``` ### Alternate code: -If you do have a compiler that supports `-traditional-cpp` you may compile the -original like: +This alternate version, which is the original entry, requires either an old +enough compiler or a compiler that supports `-traditional-cpp`. If you have such +a compiler you can try this version. + +#### To build: + ```sh make alt ``` -Use `sicherman.alt` as you would `sicherman`. +#### To run: + +```sh +./sicherman.alt < file +``` + +#### Try: + + +```sh +./sicherman.alt < README.md | ./sicherman.alt +``` ## Judges' remarks: