From 2528faef14f186deca88ad08b61786f02409c303 Mon Sep 17 00:00:00 2001 From: Cody Boone Ferguson <53008573+xexyl@users.noreply.github.com> Date: Mon, 6 Mar 2023 09:16:36 -0800 Subject: [PATCH] Add note to 1989/fubar/README.md Don't run ouroboros.c directly or it'll get stuck in an infinite loop. Also moved the author's comments to the first column of the file. --- 1989/fubar/README.md | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/1989/fubar/README.md b/1989/fubar/README.md index 576c2e21f..e1f7ced04 100644 --- a/1989/fubar/README.md +++ b/1989/fubar/README.md @@ -25,20 +25,23 @@ Do you know why? With a bit of tinkering Cody Boone Ferguson got this to work on modern systems. We thank him for his assistance! +NOTE: don't try running `ouroboros.c` directly with an arg as it'll turn into an +infinite loop. + ## Author's comments - In a nutshell, this is probably the slowest and most - obnoxious factorial program ever written. Unfortunately, - the name of the C source must be "ouroboros.c"; the name is - hard-coded into the program. +In a nutshell, this is probably the slowest and most +obnoxious factorial program ever written. Unfortunately, +the name of the C source must be "ouroboros.c"; the name is +hard-coded into the program. - The source is a legal shell script and a legal C program. - The shell script compiles itself, and then executes the - resulting binary, giving the source as input. The program - works by successively modifying #define lines each pass through. +The source is a legal shell script and a legal C program. +The shell script compiles itself, and then executes the +resulting binary, giving the source as input. The program +works by successively modifying #define lines each pass through. - Both "indent" and "cb" will damage the program, "indent" - much more so. +Both "indent" and "cb" will damage the program, "indent" +much more so. Copyright (c) 1989, Landon Curt Noll & Larry Bassel. All Rights Reserved. Permission for personal, educational or non-profit use is