From eb07ccb84a460c5eeeb17d0c23e7fbc1df419cff Mon Sep 17 00:00:00 2001 From: Cody Boone Ferguson <53008573+xexyl@users.noreply.github.com> Date: Thu, 9 Nov 2023 10:15:55 -0800 Subject: [PATCH] Format/typo check 1993/plummer --- 1993/plummer/README.md | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/1993/plummer/README.md b/1993/plummer/README.md index ab006fb50..26de8dda2 100644 --- a/1993/plummer/README.md +++ b/1993/plummer/README.md @@ -4,6 +4,8 @@ make all ``` +There is an [alternate version](#alternate-code) that lets you slow down the +output of the program for modern systems. ## To use: @@ -16,7 +18,6 @@ where: - number is a number (try 21701) - arg is any argument -NOTE: an alternate version exists. See Alternate code section below. ### Try: @@ -29,14 +30,17 @@ NOTE: an alternate version exists. See Alternate code section below. ## Alternate code: -To use: +This version sleeps in between writes for a compiled in constant microseconds +via `usleep(3)`, defaulting at 200. + + +### Alternate build: + ```sh make alt ``` -Use `plummer.alt` as you would `plummer`. - If you wish to change the time to sleep (default `200`) you can do so like: ```sh @@ -44,6 +48,12 @@ make clobber CDEFINE="-DZ=50" alt ``` +### Alternate use: + + +Use `plummer.alt` as you would `plummer`. + + ### Alternate try: ```sh @@ -78,6 +88,8 @@ compilers) complain that there is no control path leading to a return from `main()`. At 125 characters, it still fits on a single line (for those of us who don't mind ruining our eyes with 132 column screens). +### Spoiler: + The first statement points the base of `l` (the argument vector) to be the first argument by incrementing it. It then assigns `O` to point to the character before the first character of the second