From ec244961db8373bcfe52cf41dc1f2c57b2caa0e7 Mon Sep 17 00:00:00 2001 From: Cody Boone Ferguson <53008573+xexyl@users.noreply.github.com> Date: Tue, 14 Nov 2023 07:42:53 -0800 Subject: [PATCH] Format/typo check 2000/schneiderwent --- 2000/schneiderwent/README.md | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/2000/schneiderwent/README.md b/2000/schneiderwent/README.md index d136f665a..b66c592ee 100644 --- a/2000/schneiderwent/README.md +++ b/2000/schneiderwent/README.md @@ -8,7 +8,7 @@ make ## To use: ```sh -./schneiderwent datafile +./schneiderwent ``` @@ -57,20 +57,21 @@ deficiency. Obfuscation in this entry consists of: -* `printf()`ing console messages stored as EBCDIC character values - this is not +* `printf(3)`ing console messages stored as +[EBCDIC](https://en.wikipedia.org/wiki/EBCDIC) character values - this is not an attempt at encryption, but rather at cross platform compatibility. -* ASCII character values are calculated from the EBCDIC in a particularly ugly -abuse of the '?' operator. +* [ASCII](https://en.wikipedia.org/wiki/ASCII) character values are calculated +from the EBCDIC in a particularly ugly abuse of the `?:` operator. * Detection of whether to print the ASCII or EBCDIC values is done by taking the remainder of dividing the character `'J'` by `2` - the ASCII value of the character is even, the EBCDIC value is odd. -* The messages to be `printf`ed are determined via multiple table lookups and +* The messages to be `printf(3)`ed are determined via multiple table lookups and bit-masked values. * For minutes, the bit position turned on is multiplied by two to determine the -message to be `printf`ed. +message to be `printf(3)`ed. * For hours, the straight bit position is used. * This entry mostly eschews function calls for the often overlooked -setjmp/longjmp combination. +`setjmp(3)`/`longjmp(3)` combination. * The trigraphs are not there as obfuscation nor are they there to annoy the judges - it's just the easiest way to get around the absence of square brackets in a normal 3270 environment.