From ba764a183339e639ddc905e9636333449c12a83a Mon Sep 17 00:00:00 2001 From: Cody Boone Ferguson <53008573+xexyl@users.noreply.github.com> Date: Wed, 27 Dec 2023 08:54:28 -0800 Subject: [PATCH] Fix tmp/format-headers.sh, format headers The script had "s surrounding the git ls-files command which turned it to a single file which of course is wrong. Ran script again fixing many README.md files that had incorrect number of blank lines for critical headers. This will have to be done a final but a good number of files have been corrected. --- 1985/shapiro/README.md | 3 ++- 1988/spinellis/README.md | 2 +- 1988/westley/README.md | 1 - 1990/jaw/README.md | 1 - 1990/pjr/README.md | 2 -- 1990/westley/README.md | 2 +- 1991/ant/README.md | 1 - 1991/buzzard/README.md | 2 +- 1991/rince/README.md | 1 - 1991/westley/README.md | 4 ++-- 1992/adrian/README.md | 1 + 1992/buzzard.2/README.md | 1 + 1992/imc/README.md | 1 - 1992/nathan/README.md | 1 - 1992/vern/README.md | 1 - 1992/westley/README.md | 2 +- 1993/ant/README.md | 1 + 1993/cmills/README.md | 1 + 1993/dgibson/README.md | 1 - 1993/lmfjyh/README.md | 3 +-- 1993/plummer/README.md | 4 +--- 1993/rince/README.md | 3 +-- 1993/schnitzi/README.md | 1 - 1993/vanb/README.md | 1 + 1994/dodsond1/README.md | 3 ++- 1994/dodsond2/README.md | 3 ++- 1994/horton/README.md | 5 +---- 1994/weisberg/README.md | 1 - 1995/vanschnitz/README.md | 1 + 1996/eldby/README.md | 1 + 1996/gandalf/README.md | 1 - 1996/westley/README.md | 3 +-- 1998/banks/README.md | 3 +-- 1998/bas2/README.md | 3 +-- 1998/dlowe/README.md | 1 - 1998/dloweneil/README.md | 1 + 1998/fanf/README.md | 1 - 1998/schweikh1/README.md | 2 +- 1998/schweikh2/README.md | 1 - 1998/tomtorfs/README.md | 1 + 2000/jarijyrki/README.md | 1 - 2000/natori/README.md | 1 - 2000/primenum/README.md | 1 - 2000/robison/README.md | 1 - 2000/thadgavin/README.md | 4 +++- 2001/ctk/README.md | 2 +- 2001/kev/README.md | 1 - 2001/ollinger/README.md | 1 - 2001/rosten/README.md | 2 -- 2001/westley/README.md | 5 +---- 2001/williams/README.md | 2 +- 2004/arachnid/README.md | 1 + 2004/gavare/README.md | 1 + 2004/gavin/README.md | 1 + 2004/jdalbec/README.md | 1 + 2004/kopczynski/README.md | 1 - 2005/boutines/README.md | 1 - 2005/mikeash/README.md | 1 - 2005/mynx/README.md | 1 - 2005/persano/README.md | 1 + 2005/toledo/README.md | 1 + 2005/vince/README.md | 4 ++-- 2006/borsanyi/README.md | 2 -- 2006/monge/README.md | 1 - 2006/night/README.md | 1 - 2006/sloane/README.md | 1 - 2006/sykes1/README.md | 2 -- 2006/toledo3/README.md | 1 - 2011/borsanyi/README.md | 1 + 2011/fredriksson/README.md | 1 - 2011/vik/README.md | 1 + 2012/dlowe/README.md | 1 - 2012/konno/README.md | 1 - 2012/tromp/README.md | 1 - 2012/zeitak/README.md | 2 +- 2013/birken/README.md | 2 -- 2013/cable2/README.md | 2 -- 2013/cable3/README.md | 1 - 2013/endoh1/README.md | 1 + 2013/endoh2/README.md | 1 - 2013/endoh3/README.md | 1 + 2014/birken/README.md | 1 - 2014/deak/README.md | 2 +- 2014/endoh1/README.md | 1 - 2014/endoh2/README.md | 1 - 2014/maffiodo1/README.md | 2 -- 2014/maffiodo2/README.md | 2 -- 2014/morgan/README.md | 1 + 2014/vik/README.md | 2 -- 2015/burton/README.md | 4 ++-- 2015/dogon/README.md | 1 - 2015/duble/README.md | 2 +- 2015/endoh3/README.md | 1 - 2015/endoh4/README.md | 1 - 2015/hou/README.md | 2 -- 2015/howe/README.md | 2 -- 2015/schweikhardt/README.md | 1 - 2018/algmyr/README.md | 1 - 2018/burton1/README.md | 1 - 2018/ciura/README.md | 2 -- 2018/ferguson/README.md | 1 - 2018/mills/README.md | 3 +-- 2018/vokes/README.md | 2 -- 2019/dogon/README.md | 1 - 2019/duble/README.md | 1 - 2019/endoh/README.md | 1 - 2019/karns/README.md | 1 - 2019/mills/README.md | 1 - 2019/poikola/README.md | 1 - 2020/ferguson2/README.md | 2 -- 2020/giles/README.md | 2 -- 2020/kurdyukov2/README.md | 1 - 2020/kurdyukov3/README.md | 1 - 2020/kurdyukov4/README.md | 1 - 2020/otterness/README.md | 1 - 2020/tsoj/README.md | 1 + tmp/format-headers.sh | 2 +- 117 files changed, 56 insertions(+), 128 deletions(-) diff --git a/1985/shapiro/README.md b/1985/shapiro/README.md index ab23af709..cfda36dc5 100644 --- a/1985/shapiro/README.md +++ b/1985/shapiro/README.md @@ -14,6 +14,7 @@ There is alternate code which allows one to change the size of the maze. See ./shapiro ``` + ## Alternate code: The code has a define `C` set to 39 but this can be modified to change the size @@ -22,11 +23,11 @@ of the maze. The alt code allows one to easily do this. ### Alternate build: - ```sh make alt ``` + ### Alternate try: If you wish to change the value you can do it like: diff --git a/1988/spinellis/README.md b/1988/spinellis/README.md index bd22ca2dd..a127a56ef 100644 --- a/1988/spinellis/README.md +++ b/1988/spinellis/README.md @@ -10,7 +10,7 @@ If your compiler will not read from `/dev/tty` see the [Alternate code](#alternate-code) section below. -### To use: +## To use: ```sh ./spinellis diff --git a/1988/westley/README.md b/1988/westley/README.md index 387d79281..6e99ca812 100644 --- a/1988/westley/README.md +++ b/1988/westley/README.md @@ -76,7 +76,6 @@ cc -E westley.alt.c ``` - ## Author's remarks: No remarks were provided by the author. diff --git a/1990/jaw/README.md b/1990/jaw/README.md index 72d47e518..3473eff45 100644 --- a/1990/jaw/README.md +++ b/1990/jaw/README.md @@ -60,7 +60,6 @@ directory it is run from. ## Authors' remarks: - ### ABSTRACT #### Minimal, Universal File Bundling (or, Functional Obfuscation in a Self-Decoding Unix Shell Archive) diff --git a/1990/pjr/README.md b/1990/pjr/README.md index 6c141bb97..8d160bf8d 100644 --- a/1990/pjr/README.md +++ b/1990/pjr/README.md @@ -34,7 +34,6 @@ well. ### Alternate build: - ```sh make alt ``` @@ -65,7 +64,6 @@ This program prints out the string: ## Author's remarks: - It is simple to make the program print other strings. Each alphabetical character from a to z is printed out as its opposite: diff --git a/1990/westley/README.md b/1990/westley/README.md index c42713822..0dd814767 100644 --- a/1990/westley/README.md +++ b/1990/westley/README.md @@ -37,8 +37,8 @@ If you have an old enough compiler try and to see how C has changed over the yea make alt ``` -### Alternate use: +### Alternate use: ```sh ./westley.alt diff --git a/1991/ant/README.md b/1991/ant/README.md index de5ec2add..f253cc9cb 100644 --- a/1991/ant/README.md +++ b/1991/ant/README.md @@ -46,7 +46,6 @@ rest was unchanged. ### Alternate build: - ```sh make alt ``` diff --git a/1991/buzzard/README.md b/1991/buzzard/README.md index 717fd60b1..65e9691a6 100644 --- a/1991/buzzard/README.md +++ b/1991/buzzard/README.md @@ -26,6 +26,7 @@ bugs.md](/bugs.md#1991-buzzard). ./buzzard ``` + ## Alternate code: This version changes the keys `f` for forward, `l` for left and `r` for right by @@ -58,7 +59,6 @@ You are invited to try to cheat, ... if you can figure out how! :-) ## Author's remarks: - ### How to play When the game starts, you are at the far end of the maze from the exit, looking diff --git a/1991/rince/README.md b/1991/rince/README.md index 7ed7df087..2473f9de5 100644 --- a/1991/rince/README.md +++ b/1991/rince/README.md @@ -30,7 +30,6 @@ The author set the maximum number of moves to 484. ### Alternate build: - ```sh make alt ``` diff --git a/1991/westley/README.md b/1991/westley/README.md index 9b45ab8f5..b269e9591 100644 --- a/1991/westley/README.md +++ b/1991/westley/README.md @@ -7,6 +7,7 @@ make all There is an [alternate version](#alternate-code) that is supposed to win all the time. + ### Bugs and (Mis)features: The current status of this entry is: @@ -20,7 +21,6 @@ For more detailed information see [1991 westley in bugs.md](/bugs.md#1991-westle ## To use: - NOTE: we have provided a script to perform the below procedure which we include for the interested. See the [try](#try) section if you just want to play. @@ -124,11 +124,11 @@ can lose if you cheat. That's supposed to happen. Can you win any other time? ### Alternate build: - ```sh make alt ``` + ### Alternate use: Rather than use `ttt` try the script `ttt.alt` instead. diff --git a/1992/adrian/README.md b/1992/adrian/README.md index 308b44ecc..ff12916b2 100644 --- a/1992/adrian/README.md +++ b/1992/adrian/README.md @@ -4,6 +4,7 @@ make all ``` + ### Bugs and (Mis)features: The current status of this entry is: diff --git a/1992/buzzard.2/README.md b/1992/buzzard.2/README.md index 745c1d4c0..e5dc3bbcb 100644 --- a/1992/buzzard.2/README.md +++ b/1992/buzzard.2/README.md @@ -53,6 +53,7 @@ Sorry, this is third! This alternate version, [buzzard.2.alt.c](buzzard.2.alt.c), does not contain a fix that the author notes in their remarks. + ### Alternate build: To compile this alternate version: diff --git a/1992/imc/README.md b/1992/imc/README.md index 08c489dc3..03620bb4a 100644 --- a/1992/imc/README.md +++ b/1992/imc/README.md @@ -29,7 +29,6 @@ cause problems for some systems where `exit(3)` returns a void. The file declared argc to be a `long` which was fixed. - ## Author's remarks: ### Portability diff --git a/1992/nathan/README.md b/1992/nathan/README.md index 4ffdf2cf1..985b4ad52 100644 --- a/1992/nathan/README.md +++ b/1992/nathan/README.md @@ -24,7 +24,6 @@ To see some other fun uses: ## Judges' remarks: - ### WARNING: The judges make no claim as to the strength or security diff --git a/1992/vern/README.md b/1992/vern/README.md index 83ad1422b..459fc1e4e 100644 --- a/1992/vern/README.md +++ b/1992/vern/README.md @@ -16,7 +16,6 @@ STATUS: INABIAF - please **DO NOT** fix For more detailed information see [1992 vern in bugs.md](/bugs.md#1992-vern). - ## To use: ```sh diff --git a/1992/westley/README.md b/1992/westley/README.md index 43fc9b911..6d2ac9544 100644 --- a/1992/westley/README.md +++ b/1992/westley/README.md @@ -4,6 +4,7 @@ make all ``` + ### Bugs and (Mis)features: The current status of this entry is: @@ -16,7 +17,6 @@ STATUS: known bug - please help us fix For more detailed information see [1992 westley in bugs.md](/bugs.md#1992-westley). - ## To use: If lost: diff --git a/1993/ant/README.md b/1993/ant/README.md index 51fc7693e..d8e45d594 100644 --- a/1993/ant/README.md +++ b/1993/ant/README.md @@ -4,6 +4,7 @@ make all ``` + ### Bugs and (Mis)features: The current status of this entry is: diff --git a/1993/cmills/README.md b/1993/cmills/README.md index eae5bc027..c8b86db12 100644 --- a/1993/cmills/README.md +++ b/1993/cmills/README.md @@ -57,6 +57,7 @@ on but you can use the original without any delays if you wish. make all ``` + ### Original use: Use `cmills` as you would `cmills.alt` above. diff --git a/1993/dgibson/README.md b/1993/dgibson/README.md index 2353afa90..9c265098d 100644 --- a/1993/dgibson/README.md +++ b/1993/dgibson/README.md @@ -25,7 +25,6 @@ where: ## Judges' remarks: - We have provided the shell script [dgibson.sh](dgibson.sh) to make it easier to run this entry. Run this shell script several times to see what happens. diff --git a/1993/lmfjyh/README.md b/1993/lmfjyh/README.md index 478d0c1c7..5289ebf31 100644 --- a/1993/lmfjyh/README.md +++ b/1993/lmfjyh/README.md @@ -23,7 +23,6 @@ us](https://www.collinsdictionary.com/dictionary/english/everyone) with gcc >= 2.3.3. See [Alternate code](#alternate-code) section below for more details. - ### Bugs and (Mis)features: The current status of this entry is: @@ -52,11 +51,11 @@ compilers. We'd like to say there's something special about it but there isn't. ### Alternate build: - ```sh make alt ``` + ### Alternate use: Use `lmfjyh.alt` as you would `lmfjyh` above. Note that other code could also be diff --git a/1993/plummer/README.md b/1993/plummer/README.md index 7d6288840..0f3f691a9 100644 --- a/1993/plummer/README.md +++ b/1993/plummer/README.md @@ -7,6 +7,7 @@ make all There is an [alternate version](#alternate-code) that lets you slow down the output of the program for modern systems. + ## To use: ```sh @@ -19,7 +20,6 @@ where: - arg is any argument - ### Try: ```sh @@ -36,7 +36,6 @@ via `usleep(3)`, defaulting at 200. ### Alternate build: - ```sh make alt ``` @@ -50,7 +49,6 @@ make clobber SLEEP=50 alt ### Alternate use: - Use `plummer.alt` as you would `plummer`. diff --git a/1993/rince/README.md b/1993/rince/README.md index 63e218c73..cb1f3252d 100644 --- a/1993/rince/README.md +++ b/1993/rince/README.md @@ -31,7 +31,7 @@ where: `[cabbage]` is a CABBAGE description file (default: `rince.c`) -## Alternate code +## Alternate code: Some people may want to slow down the game by increasing the value 17 in the lines: @@ -57,7 +57,6 @@ changed). ### Alternate build: - ```sh make SLEEP=18 clobber alt ``` diff --git a/1993/schnitzi/README.md b/1993/schnitzi/README.md index 7aea47ebe..c67d19193 100644 --- a/1993/schnitzi/README.md +++ b/1993/schnitzi/README.md @@ -16,7 +16,6 @@ STATUS: INABIAF - please **DO NOT** fix For more detailed information see [1993 schnitzi in bugs.md](/bugs.md#1993-schnitzi). - ## To use: ```sh diff --git a/1993/vanb/README.md b/1993/vanb/README.md index 87e888f9e..0ecea9fdf 100644 --- a/1993/vanb/README.md +++ b/1993/vanb/README.md @@ -4,6 +4,7 @@ make all ``` + ### Bugs and (Mis)features: The current status of this entry is: diff --git a/1994/dodsond1/README.md b/1994/dodsond1/README.md index 3ccbfbbed..c9c752b19 100644 --- a/1994/dodsond1/README.md +++ b/1994/dodsond1/README.md @@ -11,7 +11,8 @@ make all ./dodsond1 ``` -## Try: + +### Try: At the prompt, try entering `E3`. diff --git a/1994/dodsond2/README.md b/1994/dodsond2/README.md index dcfd713d2..7c4adea94 100644 --- a/1994/dodsond2/README.md +++ b/1994/dodsond2/README.md @@ -27,6 +27,7 @@ For more detailed information see [1994 dodsond2 in bugs.md](/bugs.md#1994-dodso ./dodsond2 ``` + ## Alternate code: This version allows you to choose how many arrows to start with, instead of the @@ -35,8 +36,8 @@ default 0. If one tried specifying a value < 0 it will set it to 0. Fun fact: this version helped uncover and fix a bug that prevented the entry from working on some cases. -### Alternate build: +### Alternate build: ```sh make alt diff --git a/1994/horton/README.md b/1994/horton/README.md index 6b1688156..ca7cd8161 100644 --- a/1994/horton/README.md +++ b/1994/horton/README.md @@ -14,10 +14,8 @@ make all `A`, `B`, `C` and `D` are numeric arguments. - ### Try: - ```sh ./horton 3 2 1 0 ``` @@ -28,6 +26,7 @@ Also try: ./gtface < gtface.data ``` + ## Alternate code: This confuses cb greatly. See [horton.alt.c](horton.alt.c) for an unobfuscated/enhanced @@ -36,7 +35,6 @@ version. ### Alternate build: - ```sh make alt ``` @@ -44,7 +42,6 @@ make alt ### Alternate use: - ```sh ./horton.alt A B C D ``` diff --git a/1994/weisberg/README.md b/1994/weisberg/README.md index 5d0db2058..4e45dd3d7 100644 --- a/1994/weisberg/README.md +++ b/1994/weisberg/README.md @@ -55,7 +55,6 @@ it was read on `stdin` instead of via `cc -E`. ## Author's remarks: - ### Description The following short program implements the "Yet Another" algorithm for diff --git a/1995/vanschnitz/README.md b/1995/vanschnitz/README.md index fe8f9a951..0f40ebbb2 100644 --- a/1995/vanschnitz/README.md +++ b/1995/vanschnitz/README.md @@ -206,6 +206,7 @@ end ``` + ## Copyright and CC BY-SA 4.0 License: This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved. diff --git a/1996/eldby/README.md b/1996/eldby/README.md index db5cab019..f49578225 100644 --- a/1996/eldby/README.md +++ b/1996/eldby/README.md @@ -47,6 +47,7 @@ If however you wish to see the original version in modern systems, try: make all ``` + ### Original use: Use `./eldby` as you would `./eldby.alt` above. diff --git a/1996/gandalf/README.md b/1996/gandalf/README.md index 4194f9ddb..a0ae7edaf 100644 --- a/1996/gandalf/README.md +++ b/1996/gandalf/README.md @@ -37,7 +37,6 @@ BTW: it is perilous to 'try' the patience of [Gandalf](https://www.glyphweb.com/arda/g/gandalf.html). Go ahead, 'try' it! :-) - ## Judges' remarks: For misleading C pre-processor output, try: diff --git a/1996/westley/README.md b/1996/westley/README.md index 14af157f2..f3e3b144f 100644 --- a/1996/westley/README.md +++ b/1996/westley/README.md @@ -18,7 +18,6 @@ alt version. ``` - ### Try: ```sh @@ -32,8 +31,8 @@ The original version had a display problem in modern systems which somewhat affected the usability of the program. This alternate code, the original, is provided, to show the differences. -### Alternate build: +### Alternate build: ```sh make alt diff --git a/1998/banks/README.md b/1998/banks/README.md index 563eb18c2..35e81cc58 100644 --- a/1998/banks/README.md +++ b/1998/banks/README.md @@ -69,7 +69,7 @@ See the author's remarks in [scenery](#scenery) for more details on the scenery files. -## Try: +### Try: For a fun time after running the above command, hold down the up arrow and left arrow for about 10 seconds and see what happens. Or, if you wish to really use @@ -112,7 +112,6 @@ this alt code can be seen as an alternative for those who don't have or don't want to use page up and page down. - ### Alternate use: Use `banks.alt` as you would `banks` but for use the different keys as diff --git a/1998/bas2/README.md b/1998/bas2/README.md index f960fca5a..da214a142 100644 --- a/1998/bas2/README.md +++ b/1998/bas2/README.md @@ -13,7 +13,7 @@ echo text | ./bas2 ``` -## Try: +### Try: ```sh ./try.sh @@ -24,7 +24,6 @@ echo text | ./bas2 ## Judges' remarks: - ### Questions to ponder: Can you determine the relationship between the input and the resulting numeric diff --git a/1998/dlowe/README.md b/1998/dlowe/README.md index 69c8fff0e..902b1b0fa 100644 --- a/1998/dlowe/README.md +++ b/1998/dlowe/README.md @@ -58,7 +58,6 @@ make alt ### Alternate use: - ``` ./dlowe.alt < anyfile > pootfile ``` diff --git a/1998/dloweneil/README.md b/1998/dloweneil/README.md index 107015f89..b6e2042aa 100644 --- a/1998/dloweneil/README.md +++ b/1998/dloweneil/README.md @@ -50,6 +50,7 @@ clockwise `l` does as well. Instead of using `d` to drop the letter you can do make alt ``` + ### Alternate use: ```sh diff --git a/1998/fanf/README.md b/1998/fanf/README.md index 5d4e7036d..ca5690ac2 100644 --- a/1998/fanf/README.md +++ b/1998/fanf/README.md @@ -26,7 +26,6 @@ Enter an expression on standard input. To try some we have selected: ## Judges' remarks: - ### Historical aside: At a time the code in [fanf.c](fanf.c) was that of [fanf.orig.c](fanf.orig.c) diff --git a/1998/schweikh1/README.md b/1998/schweikh1/README.md index ce383538b..50298d56a 100644 --- a/1998/schweikh1/README.md +++ b/1998/schweikh1/README.md @@ -30,7 +30,6 @@ if you don't have a Mac as it has some interesting details about the entry. ### Alternate build: - ```sh make alt ``` @@ -40,6 +39,7 @@ make alt Use `schweikh1.alt` as you would `schweikh1` above. + ### Alternate try: Bonus exercise: modify the code to provide a different compiler. diff --git a/1998/schweikh2/README.md b/1998/schweikh2/README.md index 4f7e29fe8..93f402584 100644 --- a/1998/schweikh2/README.md +++ b/1998/schweikh2/README.md @@ -137,7 +137,6 @@ and now it works with both clang and gcc. ## Author's remarks: - ### What this program does My entry is a `yarng`, which stands for, you guessed it, yet another diff --git a/1998/tomtorfs/README.md b/1998/tomtorfs/README.md index 63d64db21..23cf3d77a 100644 --- a/1998/tomtorfs/README.md +++ b/1998/tomtorfs/README.md @@ -22,6 +22,7 @@ init : initial value for the CRC (hexadecimal) xor : value to xor the final CRC with (hexadecimal) ``` + ### Try: ```sh diff --git a/2000/jarijyrki/README.md b/2000/jarijyrki/README.md index 14d266044..95c02d42a 100644 --- a/2000/jarijyrki/README.md +++ b/2000/jarijyrki/README.md @@ -58,7 +58,6 @@ program needs now is a [flight simulator](1998/banks/README.md)! ## Author's remarks: - ### 1. OVERVIEW This program is an X-Windows based spreadsheet program. The main functions it diff --git a/2000/natori/README.md b/2000/natori/README.md index 97627cf3b..506f18a8b 100644 --- a/2000/natori/README.md +++ b/2000/natori/README.md @@ -18,7 +18,6 @@ version](#alternate-code) below. ### Try: - ```sh ./try.sh ``` diff --git a/2000/primenum/README.md b/2000/primenum/README.md index f571ad955..3b9b267de 100644 --- a/2000/primenum/README.md +++ b/2000/primenum/README.md @@ -45,7 +45,6 @@ it successfully fooled half of the judges, including me. ## Author's remarks: - ### Description For 15 years, IOCCC winners have obfuscated programs using esoteric, diff --git a/2000/robison/README.md b/2000/robison/README.md index 49e4b5747..d90a8b6fe 100644 --- a/2000/robison/README.md +++ b/2000/robison/README.md @@ -26,7 +26,6 @@ author a patent he applied for. :-) ## Author's remarks: - ### TITLE OF INVENTION Highly Compressed Program for Playing Hygienic Checkers diff --git a/2000/thadgavin/README.md b/2000/thadgavin/README.md index 512c36f5c..beca41f8f 100644 --- a/2000/thadgavin/README.md +++ b/2000/thadgavin/README.md @@ -22,6 +22,7 @@ We recommend that you use the alternate code in modern systems. See the You can press 'q' at any time to exit. + ### Try: If you have SDL1 installed: @@ -77,12 +78,14 @@ problem there. make all ``` + ### Original use: ```sh ./thadgavin ``` + ### Original try: If you have SDL1 installed: @@ -102,7 +105,6 @@ less than dazzling. We could not test this entry in DOS mode. ## Authors' remarks: - ### To use under DOS: Compile using DJGPP as follows: diff --git a/2001/ctk/README.md b/2001/ctk/README.md index 5a762e2f6..cd3e4ed74 100644 --- a/2001/ctk/README.md +++ b/2001/ctk/README.md @@ -23,11 +23,11 @@ This alternate version adds to the movement keys `l` for right, `h` for left and ### Alternate build: - ```sh make alt ``` + ### Alternate use: ```sh diff --git a/2001/kev/README.md b/2001/kev/README.md index de2ab8b34..441db9da7 100644 --- a/2001/kev/README.md +++ b/2001/kev/README.md @@ -129,7 +129,6 @@ box. ## Author's remarks: - **NETWORK PONG!** ### REQUIREMENTS diff --git a/2001/ollinger/README.md b/2001/ollinger/README.md index 8f11374a6..352c5f729 100644 --- a/2001/ollinger/README.md +++ b/2001/ollinger/README.md @@ -29,7 +29,6 @@ Do get lost in the program's line of thought! :-) ## Author's remarks: - ### What's this? What do you see? On the left, you will see an enumeration of all successive diff --git a/2001/rosten/README.md b/2001/rosten/README.md index bd14315c9..45a00bc9f 100644 --- a/2001/rosten/README.md +++ b/2001/rosten/README.md @@ -16,7 +16,6 @@ STATUS: missing files - please provide them For more detailed information see [2001 rosten in bugs.md](/bugs.md#2001-rosten). - ## To use: ```sh @@ -51,7 +50,6 @@ cursor) in the wrong way. :-) ## Author's remarks: - ### NAME `rosten` - make the mouse act as if it has been greased diff --git a/2001/westley/README.md b/2001/westley/README.md index 12ecefc3d..7e8bf65ef 100644 --- a/2001/westley/README.md +++ b/2001/westley/README.md @@ -22,8 +22,6 @@ STATUS: missing files - please provide them For more detailed information see [2001 westley in bugs.md](/bugs.md#2001-westley). - - ## To use: ```sh @@ -35,6 +33,7 @@ echo foo | ./westley 2>/dev/null ./westley < westley.c 2>/dev/null ``` + ### Try: ```sh @@ -73,7 +72,6 @@ This alternate code might be less portable. ### Alternate build: - ```sh make alt ``` @@ -84,7 +82,6 @@ make alt Use `westley.alt` as you would `westley` above. - ## Judges' remarks: Try copying the source to a new file and changing around the diff --git a/2001/williams/README.md b/2001/williams/README.md index 29ab18d4d..3462d5e61 100644 --- a/2001/williams/README.md +++ b/2001/williams/README.md @@ -4,6 +4,7 @@ make ``` + ### Bugs and (Mis)features: The current status of this entry is: @@ -15,7 +16,6 @@ STATUS: known bug - please help us fix For more detailed information see [2001 williams in bugs.md](/bugs.md#2001-williams). - ## To use: ```sh diff --git a/2004/arachnid/README.md b/2004/arachnid/README.md index 636e366b6..0e1030ddb 100644 --- a/2004/arachnid/README.md +++ b/2004/arachnid/README.md @@ -45,6 +45,7 @@ instead. make alt ``` + ### Alternate use: Use `arachnid.alt` as you would `arachnid` above. diff --git a/2004/gavare/README.md b/2004/gavare/README.md index 598d2da01..b379a9177 100644 --- a/2004/gavare/README.md +++ b/2004/gavare/README.md @@ -21,6 +21,7 @@ for more details. ./gavare > ioccc_ray.ppm ``` + ## Alternate code: The alt code, [gavare.alt.c](gavare.alt.c), allows you to change the size of the diff --git a/2004/gavin/README.md b/2004/gavin/README.md index 8e4e99f89..202f34345 100644 --- a/2004/gavin/README.md +++ b/2004/gavin/README.md @@ -90,6 +90,7 @@ you can use it with `QEMU`. make alt ``` + ### Alternate use: The use is mostly the same as `gavin` except that one initially executes `gavin.alt` diff --git a/2004/jdalbec/README.md b/2004/jdalbec/README.md index 8ce367774..dc4fc2356 100644 --- a/2004/jdalbec/README.md +++ b/2004/jdalbec/README.md @@ -32,6 +32,7 @@ For more detailed information see [2004 jdalbec in bugs.md](/bugs.md#2004-jdalbe ./try.sh ``` + ## Alternate code: This version lets you control how many numbers to show on a line before adding a diff --git a/2004/kopczynski/README.md b/2004/kopczynski/README.md index 8d585eae1..f18507870 100644 --- a/2004/kopczynski/README.md +++ b/2004/kopczynski/README.md @@ -34,7 +34,6 @@ does. ### Alternate build: - ```sh make alt ``` diff --git a/2005/boutines/README.md b/2005/boutines/README.md index f0a38f043..592319115 100644 --- a/2005/boutines/README.md +++ b/2005/boutines/README.md @@ -20,7 +20,6 @@ ruby -e '20.times{puts "#{rand} #{rand}"}' | ./boutines > test.svg ### Try: - ```sh ./boutines < input.txt > result.svg ``` diff --git a/2005/mikeash/README.md b/2005/mikeash/README.md index b2da23d02..df7e95ee9 100644 --- a/2005/mikeash/README.md +++ b/2005/mikeash/README.md @@ -33,7 +33,6 @@ under 64-bit (x86_64, arm64) machines too. ``` - ## Judges' remarks: Having problems speaking code? Do you [LISP][]? Parenthetically diff --git a/2005/mynx/README.md b/2005/mynx/README.md index 348442bb7..ca3a9a8f7 100644 --- a/2005/mynx/README.md +++ b/2005/mynx/README.md @@ -58,7 +58,6 @@ must just appreciate the entry for what it once was. ### Alternate build: - ```sh make alt ``` diff --git a/2005/persano/README.md b/2005/persano/README.md index 45d16e8fc..9504f7040 100644 --- a/2005/persano/README.md +++ b/2005/persano/README.md @@ -41,6 +41,7 @@ let it work with Windows. make alt ``` + ### Alternate use: Use `persano.alt` as you would `persano` above. diff --git a/2005/toledo/README.md b/2005/toledo/README.md index 181152e23..0049818da 100644 --- a/2005/toledo/README.md +++ b/2005/toledo/README.md @@ -34,6 +34,7 @@ To compile the alternate versions: make alt ``` + ### Alternate use: Use Use `toledo2` and `toledo3` as you would `toledo` above. diff --git a/2005/vince/README.md b/2005/vince/README.md index 29fc89e0f..eea271b4c 100644 --- a/2005/vince/README.md +++ b/2005/vince/README.md @@ -15,7 +15,7 @@ make ``` -## Try: +### Try: When running this in the program's window try hitting space a few times and see what happens! @@ -35,6 +35,7 @@ To compile this alternate version: make alt ``` + ### Alternate use: Use `vince.alt` as you would `vince` above. @@ -59,7 +60,6 @@ Challenge: Try modifying the texture to something of your own design. ## Author's remarks: - ### ABUSE OF RULES * The executable needs to read in its own source code in order to run. As diff --git a/2006/borsanyi/README.md b/2006/borsanyi/README.md index 16a2ea2be..f8adc69d5 100644 --- a/2006/borsanyi/README.md +++ b/2006/borsanyi/README.md @@ -16,8 +16,6 @@ STATUS: INABIAF - please **DO NOT** fix For more detailed information see [2006 borsanyi in bugs.md](/bugs.md#2006-borsanyi). - - ## To use: ```sh diff --git a/2006/monge/README.md b/2006/monge/README.md index 8f2574df5..8c06ffc0d 100644 --- a/2006/monge/README.md +++ b/2006/monge/README.md @@ -53,7 +53,6 @@ as the number of iterations to perform. ### Alternate build: - To use the default values, the same as [monge.c](monge.c), just do: diff --git a/2006/night/README.md b/2006/night/README.md index 28e0bfac6..eb18c6704 100644 --- a/2006/night/README.md +++ b/2006/night/README.md @@ -23,7 +23,6 @@ keys. ### Alternate build: - ```sh make alt ``` diff --git a/2006/sloane/README.md b/2006/sloane/README.md index 4931e03fb..5a4970f5a 100644 --- a/2006/sloane/README.md +++ b/2006/sloane/README.md @@ -45,7 +45,6 @@ Should you wish to see the original you may do so with the original code, ### Original build: - ```sh make clobber all ``` diff --git a/2006/sykes1/README.md b/2006/sykes1/README.md index 286143556..0e61ebaa4 100644 --- a/2006/sykes1/README.md +++ b/2006/sykes1/README.md @@ -16,8 +16,6 @@ STATUS: INABIAF - please **DO NOT** fix For more detailed information see [2006 sykes1 in bugs.md](/bugs.md#2006-sykes1). - - ## To use: ```sh diff --git a/2006/toledo3/README.md b/2006/toledo3/README.md index b5f52ec8c..43eec4aa7 100644 --- a/2006/toledo3/README.md +++ b/2006/toledo3/README.md @@ -9,7 +9,6 @@ another that makes it text only. The author also provided a version that they tested with Windows. See [alternate code](#alternate-code) below. - ## To use: ```sh diff --git a/2011/borsanyi/README.md b/2011/borsanyi/README.md index c0fb94900..fdbc33f04 100644 --- a/2011/borsanyi/README.md +++ b/2011/borsanyi/README.md @@ -4,6 +4,7 @@ make ``` + ### Bugs and (Mis)features: The current status of this entry is: diff --git a/2011/fredriksson/README.md b/2011/fredriksson/README.md index 274e89556..43b89dd28 100644 --- a/2011/fredriksson/README.md +++ b/2011/fredriksson/README.md @@ -46,7 +46,6 @@ program and calls it. As an exercise, try writing the compressor. ## Author's remarks: - ### Approximate grep Implements a variant of `grep`. diff --git a/2011/vik/README.md b/2011/vik/README.md index bc1c2d2de..28f8f1ea3 100644 --- a/2011/vik/README.md +++ b/2011/vik/README.md @@ -57,6 +57,7 @@ make alt ``` + ### Alternate use: Use `vik.alt` as you would `vik` above. diff --git a/2012/dlowe/README.md b/2012/dlowe/README.md index 5431bcaa8..8d37b5eae 100644 --- a/2012/dlowe/README.md +++ b/2012/dlowe/README.md @@ -16,7 +16,6 @@ STATUS: INABIAF - please **DO NOT** fix For more detailed information see [2012 dlowe in bugs.md](/bugs.md#2012-dlowe). - ## To use: ```sh diff --git a/2012/konno/README.md b/2012/konno/README.md index 62a809901..4a1ac89f1 100644 --- a/2012/konno/README.md +++ b/2012/konno/README.md @@ -32,7 +32,6 @@ This alternate code is an unobfuscated version of the winning code. ### Alternate build: - ```sh make alt ``` diff --git a/2012/tromp/README.md b/2012/tromp/README.md index 713377405..57e505918 100644 --- a/2012/tromp/README.md +++ b/2012/tromp/README.md @@ -18,7 +18,6 @@ STATUS: INABIAF - please **DO NOT** fix For more detailed information see [2012 tromp in bugs.md](/bugs.md#2012-tromp). - ## To use: ```sh diff --git a/2012/zeitak/README.md b/2012/zeitak/README.md index d9788050b..a65a44722 100644 --- a/2012/zeitak/README.md +++ b/2012/zeitak/README.md @@ -41,6 +41,7 @@ this extremely subtle entry. make alt ``` + ### Alternate use: Use `zeitak.alt` as you would `zeitak` above. @@ -59,7 +60,6 @@ just to understand 18 key characters of this code. ## Author's remarks: - ### Nesting Errors Detector diff --git a/2013/birken/README.md b/2013/birken/README.md index 679f51b65..5fd3304c6 100644 --- a/2013/birken/README.md +++ b/2013/birken/README.md @@ -10,7 +10,6 @@ see the [original code](#original-code) section. ## To use: - ```sh ./birken.alt < 17_columns_wide_paint_by_numbers_file ``` @@ -65,7 +64,6 @@ hard to see the art of the entry but you may do so if you wish. ### Original build: - ```sh make all ``` diff --git a/2013/cable2/README.md b/2013/cable2/README.md index 2b81946a9..fbcbf3075 100644 --- a/2013/cable2/README.md +++ b/2013/cable2/README.md @@ -16,8 +16,6 @@ STATUS: INABIAF - please **DO NOT** fix For more detailed information see [2013 cable2 in bugs.md](/bugs.md#2013-cable2). - - ## To use: ```sh diff --git a/2013/cable3/README.md b/2013/cable3/README.md index f67c37427..d629b871f 100644 --- a/2013/cable3/README.md +++ b/2013/cable3/README.md @@ -78,7 +78,6 @@ Update: This entry now has its own website: ## Author's remarks: - ### A tiny but highly functional PC emulator/virtual machine The author hereby presents, for the delectation (?) of the judges, a portable PC diff --git a/2013/endoh1/README.md b/2013/endoh1/README.md index 8fa7d8fc6..4b6a782de 100644 --- a/2013/endoh1/README.md +++ b/2013/endoh1/README.md @@ -4,6 +4,7 @@ make ``` + ### Bugs and (Mis)features: The current status of this entry is: diff --git a/2013/endoh2/README.md b/2013/endoh2/README.md index c6c8f4c58..9b0649e50 100644 --- a/2013/endoh2/README.md +++ b/2013/endoh2/README.md @@ -32,7 +32,6 @@ Next look at `jpeg.jpg` in an image viewer program. ## Judges' remarks: - This is a program which, when fed its own source, generates a program that almost is its whitespace inverse, which, in its order, generates a JPEG file (speaking of file size abuse, that is about 16.4 times larger than a PBM file diff --git a/2013/endoh3/README.md b/2013/endoh3/README.md index fc98f7099..70f17bb72 100644 --- a/2013/endoh3/README.md +++ b/2013/endoh3/README.md @@ -4,6 +4,7 @@ make ``` + ### Bugs and (Mis)features: The current status of this entry is: diff --git a/2014/birken/README.md b/2014/birken/README.md index 92073487a..7c11e561e 100644 --- a/2014/birken/README.md +++ b/2014/birken/README.md @@ -70,7 +70,6 @@ You can combine them both of course. ### Alternate use: - Use `prog.alt` as you would `prog` above. Remember that ports < 1024 are privileged ports that unprivileged users cannot use. diff --git a/2014/deak/README.md b/2014/deak/README.md index 9199e3a15..5ccb097bb 100644 --- a/2014/deak/README.md +++ b/2014/deak/README.md @@ -63,6 +63,7 @@ Use `prog.alt` as you would `prog`. ./try.alt.sh ``` + ## Judges' remarks: We consider this entry a tribute to all "Abuse of the C preprocessor" @@ -73,7 +74,6 @@ We liked the use of unary notation facilitated by variadic macros. ## Author's remarks: - ### Portability The application was written on a standard Ubuntu 14.04 and tested with diff --git a/2014/endoh1/README.md b/2014/endoh1/README.md index 26ed90586..8cd7a29ec 100644 --- a/2014/endoh1/README.md +++ b/2014/endoh1/README.md @@ -57,7 +57,6 @@ more than 1000 words. ## Author's remarks: - ### Remarks You may want to use a large display with a very small terminal font. diff --git a/2014/endoh2/README.md b/2014/endoh2/README.md index 02a783f0d..8a4cfd503 100644 --- a/2014/endoh2/README.md +++ b/2014/endoh2/README.md @@ -32,7 +32,6 @@ in the DNA code of the code? Perhaps there are 23 reasons? :-) ## Author's remarks: - ### Remarks This chromosome program synthesizes a double helix. diff --git a/2014/maffiodo1/README.md b/2014/maffiodo1/README.md index 2cde4af7c..e5c3e5dc4 100644 --- a/2014/maffiodo1/README.md +++ b/2014/maffiodo1/README.md @@ -20,7 +20,6 @@ STATUS: INABIAF - please **DO NOT** fix For more detailed information see [2014 maffiodo1 in bugs.md](/bugs.md#2014-maffiodo1). - ## To use: ```sh @@ -41,7 +40,6 @@ The parameters to the program are: note on macOS. - ### Try: ```sh diff --git a/2014/maffiodo2/README.md b/2014/maffiodo2/README.md index c9ecb07cd..50531606a 100644 --- a/2014/maffiodo2/README.md +++ b/2014/maffiodo2/README.md @@ -19,7 +19,6 @@ STATUS: INABIAF - please **DO NOT** fix For more detailed information see [2014 maffiodo2 in bugs.md](/bugs.md#2014-maffiodo2). - ## To use: ```sh @@ -42,7 +41,6 @@ as fun but it's 121 bytes instead of 140. ### Alternate build: - ```sh make alt ``` diff --git a/2014/morgan/README.md b/2014/morgan/README.md index 27ab21e19..74a976f30 100644 --- a/2014/morgan/README.md +++ b/2014/morgan/README.md @@ -83,6 +83,7 @@ prog.c:23:72: warning: signed and unsigned type in conditional expression [-Wsig prog.c:12:11: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] ``` + ## Copyright and CC BY-SA 4.0 License: This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved. diff --git a/2014/vik/README.md b/2014/vik/README.md index e43fca031..574a8ae7c 100644 --- a/2014/vik/README.md +++ b/2014/vik/README.md @@ -44,7 +44,6 @@ instructions on how to get it to work with Windows. ### Alternate build: - ```sh make alt ``` @@ -76,7 +75,6 @@ might help? :-) ## Author's remarks: - ### Remarks This program converts ASCII text to Morse audio file and vice versa. As far as diff --git a/2015/burton/README.md b/2015/burton/README.md index c3be78857..42e7a9401 100644 --- a/2015/burton/README.md +++ b/2015/burton/README.md @@ -41,6 +41,7 @@ Finally, if you wish to read the man page: man ./calc.1 ``` + ## Alternate code: An alternate version of this entry, [prog.alt.c](prog.alt.c), is provided. @@ -50,11 +51,11 @@ author's remarks below. ### Alternate build: - ```sh make alt ``` + ### Alternate use: Use `prog.alt` as you would `prog` above. @@ -73,7 +74,6 @@ process. ## Author's remarks: - ### calc - an integer expression calculator that outputs in both hex and decimal All useful tools should include sufficient documentation. diff --git a/2015/dogon/README.md b/2015/dogon/README.md index 91281a769..1b0421bdb 100644 --- a/2015/dogon/README.md +++ b/2015/dogon/README.md @@ -108,7 +108,6 @@ number function keys such as F30 or F31? :-) ## Author's remarks: - ### What is it? Just run `./prog` with no arguments on an X11-compatible system. The scenery, though diff --git a/2015/duble/README.md b/2015/duble/README.md index dc8c5bd4d..078d2e88a 100644 --- a/2015/duble/README.md +++ b/2015/duble/README.md @@ -40,7 +40,7 @@ make alt Use `prog.alt` as you would `prog` above. -### Judges' remarks: +## Judges' remarks: Beautiful penmanship! However, your fonts may vary. diff --git a/2015/endoh3/README.md b/2015/endoh3/README.md index fad826025..9fea9d691 100644 --- a/2015/endoh3/README.md +++ b/2015/endoh3/README.md @@ -53,7 +53,6 @@ clue, see the end of the author's remarks.) If in doubt, use ## Author's remarks: - ### Hint / Compatibility * A little-endian system is required due to an external factor. diff --git a/2015/endoh4/README.md b/2015/endoh4/README.md index 00941d19a..4225b8758 100644 --- a/2015/endoh4/README.md +++ b/2015/endoh4/README.md @@ -32,7 +32,6 @@ Dogon](/winners.html#Gil_Dogon); it is the author's original entry. ### Alternate build: - ```sh make alt ``` diff --git a/2015/hou/README.md b/2015/hou/README.md index c712151af..338cfa20b 100644 --- a/2015/hou/README.md +++ b/2015/hou/README.md @@ -16,8 +16,6 @@ STATUS: INABIAF - please **DO NOT** fix For more detailed information see [2015 hou in bugs.md](/bugs.md#2015-hou). - - ## To use: ```sh diff --git a/2015/howe/README.md b/2015/howe/README.md index fb223e546..6e5e93d4a 100644 --- a/2015/howe/README.md +++ b/2015/howe/README.md @@ -32,7 +32,6 @@ entry but was changed to be the alt version. ### Alternate build: - ```sh make alt ``` @@ -71,7 +70,6 @@ NOTE: Unlike the original entry source, [prog.alt.c](prog.alt.c), ## Author's remarks: - ### Features * "An O(NP) Sequence Comparison Algorithm" by Wu, Manber, Myers, Miller. diff --git a/2015/schweikhardt/README.md b/2015/schweikhardt/README.md index 779221c65..17c7859b0 100644 --- a/2015/schweikhardt/README.md +++ b/2015/schweikhardt/README.md @@ -101,7 +101,6 @@ code is magic number free. ## Author's remarks: - ### The TL;DR version This is the cleanest program ever submitted. If for some input it enters diff --git a/2018/algmyr/README.md b/2018/algmyr/README.md index 4a80d609b..6d516e09d 100644 --- a/2018/algmyr/README.md +++ b/2018/algmyr/README.md @@ -50,7 +50,6 @@ sound sample? ## Author's remarks: - ### What is this? To put it brief, this entry is akin to a sound based cat. It takes characters as diff --git a/2018/burton1/README.md b/2018/burton1/README.md index ee09acc7b..098f3016d 100644 --- a/2018/burton1/README.md +++ b/2018/burton1/README.md @@ -32,7 +32,6 @@ with `-Wno-` options. ### Alternate build: - ```sh make alt ``` diff --git a/2018/ciura/README.md b/2018/ciura/README.md index 718a3df97..108243f35 100644 --- a/2018/ciura/README.md +++ b/2018/ciura/README.md @@ -33,7 +33,6 @@ useful bug fix. ### Alternate build: - ```sh make alt ``` @@ -54,7 +53,6 @@ vocabulary has it? ## Author's remarks: - ### The Program: "The Elements of Style" by Prof. William Strunk, Jr. and E. B. White diff --git a/2018/ferguson/README.md b/2018/ferguson/README.md index 1749a62a5..1c1049cde 100644 --- a/2018/ferguson/README.md +++ b/2018/ferguson/README.md @@ -31,7 +31,6 @@ about this under the [keyboards](#keyboards) section, briefly referred to in the ### Alternate build: - ```sh make alt ``` diff --git a/2018/mills/README.md b/2018/mills/README.md index a2bf970e8..ad06a7461 100644 --- a/2018/mills/README.md +++ b/2018/mills/README.md @@ -73,7 +73,7 @@ But there is much more to this entry! See below. NOTE: To quit, press Control-E. -### Judges' remarks: +## Judges' remarks: Do small machines only need small programs? This program weighs in at just 3636 bytes, which is considerably lighter than the original machine it can replace. @@ -130,7 +130,6 @@ NOTE: To quit v6, press Control-E. ## Author's remarks: - ### *This IOCCC entry is dedicated to the late Dennis M. Ritchie* diff --git a/2018/vokes/README.md b/2018/vokes/README.md index fd304dd3e..ac29aab3e 100644 --- a/2018/vokes/README.md +++ b/2018/vokes/README.md @@ -16,7 +16,6 @@ STATUS: INABIAF - please **DO NOT** fix For more detailed information see [2018 vokes in bugs.md](/bugs.md#2018-vokes). - ## To use: ```sh @@ -44,7 +43,6 @@ answer you seek with no hocus pocus. ## Author's remarks: - ### Introduction: This program reads a directed graph (as lines with integer node IDs), diff --git a/2019/dogon/README.md b/2019/dogon/README.md index e18ffc5fd..1b6e83232 100644 --- a/2019/dogon/README.md +++ b/2019/dogon/README.md @@ -62,7 +62,6 @@ In the interest of saving lives, this entry was not fuzzed. ## Author's remarks: - ### What is it? Just run with no arguments on an X11-compatible system using one of the supplied diff --git a/2019/duble/README.md b/2019/duble/README.md index aaffdb5e7..1f3f0dce6 100644 --- a/2019/duble/README.md +++ b/2019/duble/README.md @@ -115,7 +115,6 @@ or `l` (they toggle). ## Author's remarks: - ### Introduction: This program is a **graphics editor**, running in the terminal. diff --git a/2019/endoh/README.md b/2019/endoh/README.md index e13f45560..10bcb57d1 100644 --- a/2019/endoh/README.md +++ b/2019/endoh/README.md @@ -55,7 +55,6 @@ ascii` when debugging it to reveal its purpose. ## Author's remarks: - ### backtrace quine: Compile prog.c with no optimization. diff --git a/2019/karns/README.md b/2019/karns/README.md index 32db17a0c..d3618f1d5 100644 --- a/2019/karns/README.md +++ b/2019/karns/README.md @@ -19,7 +19,6 @@ STATUS: INABIAF - please **DO NOT** fix For more detailed information see [2019 karns in bugs.md](/bugs.md#2019-karns). - ## To use: ```sh diff --git a/2019/mills/README.md b/2019/mills/README.md index b2f1911be..26536dd22 100644 --- a/2019/mills/README.md +++ b/2019/mills/README.md @@ -16,7 +16,6 @@ STATUS: INABIAF - please **DO NOT** fix For more detailed information see [2019 mills in bugs.md](/bugs.md#2019-mills). - ## To use: ```sh diff --git a/2019/poikola/README.md b/2019/poikola/README.md index 3f3ee5535..5af223f13 100644 --- a/2019/poikola/README.md +++ b/2019/poikola/README.md @@ -102,7 +102,6 @@ Nykänen](https://en.wikipedia.org/wiki/Matti_Nyk%C3%A4nen). ## Author's remarks: - ### How to build: ```sh diff --git a/2020/ferguson2/README.md b/2020/ferguson2/README.md index 0ce5ab49f..0603fb0e5 100644 --- a/2020/ferguson2/README.md +++ b/2020/ferguson2/README.md @@ -73,7 +73,6 @@ and to make it a bit more like the real thing. ### Alternate build: - ```sh make alt ``` @@ -95,7 +94,6 @@ Use `prog.alt` as you would `prog` above. ### Alternate try: - ```sh ./try.alt.sh ``` diff --git a/2020/giles/README.md b/2020/giles/README.md index ebee3f351..bd6d5c767 100644 --- a/2020/giles/README.md +++ b/2020/giles/README.md @@ -16,8 +16,6 @@ STATUS: INABIAF - please **DO NOT** fix For more detailed information see [2020 giles in bugs.md](/bugs.md#2020-giles). - - ## To use: ```sh diff --git a/2020/kurdyukov2/README.md b/2020/kurdyukov2/README.md index 0b051bf8a..4e1cdc8d0 100644 --- a/2020/kurdyukov2/README.md +++ b/2020/kurdyukov2/README.md @@ -34,7 +34,6 @@ rectangles. What is the complexity? Is it obvious from the source code? ## Author's remarks: - ### Usage This program divides the image into a specified number of rectangles. This diff --git a/2020/kurdyukov3/README.md b/2020/kurdyukov3/README.md index 326627ac7..932587611 100644 --- a/2020/kurdyukov3/README.md +++ b/2020/kurdyukov3/README.md @@ -57,7 +57,6 @@ exactly what it says nonetheless. ## Author's remarks: - ### Letter Mixer Compile and try this: diff --git a/2020/kurdyukov4/README.md b/2020/kurdyukov4/README.md index c69119a08..c808c80a8 100644 --- a/2020/kurdyukov4/README.md +++ b/2020/kurdyukov4/README.md @@ -68,7 +68,6 @@ Now can you appreciate the award title a bit better? ## Author's remarks: - ### Building: ```sh diff --git a/2020/otterness/README.md b/2020/otterness/README.md index 3a905a9af..aa21d294b 100644 --- a/2020/otterness/README.md +++ b/2020/otterness/README.md @@ -46,7 +46,6 @@ While doing that, you can be audibly *entertained* by a sample of its output. ## Author's remarks: - ### MIDI "boots and cats" This program seeks to automatically "improve" standard MIDI files (.mid) by diff --git a/2020/tsoj/README.md b/2020/tsoj/README.md index 5e6cd069c..78e506481 100644 --- a/2020/tsoj/README.md +++ b/2020/tsoj/README.md @@ -37,6 +37,7 @@ where instead of `w`, `a`, `s` and `d`, you can use `k`, `h`, `j` and `l`. make alt ``` + ### Alternate use: ```sh diff --git a/tmp/format-headers.sh b/tmp/format-headers.sh index dedf805d4..c7724a07a 100755 --- a/tmp/format-headers.sh +++ b/tmp/format-headers.sh @@ -9,7 +9,7 @@ # the [0-9]{4} directories. # -for i in "$(git ls-files '[0-9][0-9][0-9][0-9]/*README.md')"; do +for i in $(git ls-files '[0-9][0-9][0-9][0-9]/*README.md'); do perl -0777 -p -i -e 's/([^\n]\n)\n*##*[[:space:]]*(To build):?\n\n*([^\n])?/$1\n\n## $2:\n\n$3/' "$i" perl -0777 -p -i -e 's/([^\n]\n)\n*##*[[:space:]]*(Bugs and \(Mis\)features):?\n\n*([^\n])?/$1\n\n### $2:\n\n$3/' "$i" perl -0777 -p -i -e 's/([^\n]\n)\n*##*[[:space:]]*(To use):?\n\n*([^\n])?/$1\n\n## $2:\n\n$3/' "$i"