Add missing ':' to Alternate code sections

This was done as:

    sgit -e 's/\(# Alternate code\)$/\1:/g' '*README.md'

The heading levels and other things to do with alternate code that are
being discussed have not been addressed here. That will come later. This
is, as noted, just adding the missing ':' where it was missing.

The command does NOT touch it when it is not prefixed with '# ' because
there are cases where normal lines end with 'Alternate code' (these will
be turned into links later on).
This commit is contained in:
Cody Boone Ferguson committed 2023-10-25 06:00:36 -07:00
1 parent ea2cad4fb8
commit 1cb070de20
11 files changed
+11 -11

No files matched your search

+1 -1
View File
@@ -38,7 +38,7 @@ behaviour?
./dale "$(printf "the following files exist in this directory:\n%s\n" *)"
```
### Alternate code
### Alternate code:
If you have an old enough compiler you can try the original version in
[dale.alt.c](dale.alt.c). To use:
+1 -1
View File
@@ -39,7 +39,7 @@ If you have gcc < 2.3.3 (i.e. the entry can compile):
```
### Alternate code
### Alternate code:
To use:
+1 -1
View File
@@ -36,7 +36,7 @@ QWERTY keyboards. Rogue players, vi users, and Dvorak typists are
invited to get lost (or use the alt version)!
### Alternate code
### Alternate code:
To use:
+1 -1
View File
@@ -24,7 +24,7 @@ make
./hoyle 2 0 1 0 -0.001
```
### Alternate code
### Alternate code:
An alternate version of this entry, [hoyle.alt.c](hoyle.alt.c), is provided.
This alternate code has a missing newline and used a non-standard tab stop size.
+1 -1
View File
@@ -42,7 +42,7 @@ What happens if you feed the program source to the program? Can you figure out
why?
### Alternate code
### Alternate code:
The judges modified the program to print its result. The original
program returned the result as an exit code:
+1 -1
View File
@@ -24,7 +24,7 @@ NOTE: N is an integer from 0 to 255.
./konno 30
```
### Alternate code
### Alternate code:
An alternate version of this entry, [konno.alt.c](konno.alt.c), is provided.
This alternate code is an unobfuscated version of the winning code.
+1 -1
View File
@@ -28,7 +28,7 @@ try [incorrect.c](incorrect.c) and the program itself.
NOTE: it prints an error and exits on the first nesting error so it will not
detect multiple issues!
### Alternate code
### Alternate code:
An alternate version of this entry, [zeitak.alt.c](zeitak.alt.c), is provided.
The file [zeitak.alt.c](zeitak.alt.c) provides a version that has been slightly
+1 -1
View File
@@ -29,7 +29,7 @@ DRAFT=1 ./prog < prog.c
./prog < prog.c
```
## Alternate code
## Alternate code:
An alternate version of this entry, prog.alt.c, is provided. This alternate
code is discussed below in the "prog.c vs prog.alt.c" section of the Author's
+1 -1
View File
@@ -44,7 +44,7 @@ cp war-and-peace.txt nuked.tmp
./avgtime.sh 100 ./prog war-and-peace.txt nuked.tmp
```
### Alternate code
### Alternate code:
An alternate version of this entry, `prog.alt.c`, is provided.
This alternate code does not use a 64 bit FNV hash.
+1 -1
View File
@@ -25,7 +25,7 @@ echo IOCCC | ./prog
./prog < prog.x86_64.asm
```
### Alternate code
### Alternate code:
An even smaller alternate version of this entry, prog.alt.c, is provided. This code does not contain any headers, nor any workaround for WIN32 based platforms.
+1 -1
View File
@@ -28,7 +28,7 @@ echo International Obfuscated C Code Contest | ./prog
./prog < input.txt
```
### Alternate code
### Alternate code:
There is an alternate version of this code in `prog.alt.c` where the main code is a macro.