Skip to content

Commit

Permalink
improve references to source code that inspired the IOCCC
Browse files Browse the repository at this point in the history
Updated `faq.md` and `README.md` to point at the BSD source for the
old Bourne shell.  Mentioned the GENIX operating system for the NS
SYS16 system.  Added a note that the links are only approximations
of the BSD code that inspired the IOCCC.
  • Loading branch information
lcn2 committed Jan 18, 2025
1 parent b7c7db0 commit 3dc3f7e
Show file tree
Hide file tree
Showing 5 changed files with 46 additions and 17 deletions.
16 changes: 12 additions & 4 deletions README.html
Original file line number Diff line number Diff line change
Expand Up @@ -446,13 +446,21 @@ <h2 id="obfuscation-noun"><strong>Obfuscation</strong> | <em>noun</em></h2>
</ul>
<p>The official IOCCC website is <a href="https://www.ioccc.org">www.ioccc.org</a>.</p>
<h2 id="how-it-was-started">How it was started:</h2>
<p>The original inspiration of the International Obfuscated C Code Contest came
from the Bourne Shell source and the
<p><strong>It was a dark and stormy night…</strong></p>
<p>OK, let’s go back to 1984, not 1830: one day (1984 March 23 to be exact), Larry Bassel
and I (Landon Curt Noll) were working for National Semiconductor’s Genix porting
group, and we were both in our offices trying to fix some very broken code.</p>
<p>Larry had been trying to fix a bug in
the old Bourne shell
<a href="https://github.com/dank101/4.2BSD/tree/708b3890ac0c2f034f2840b5ee9125b3c83a05bc/bin/sh">sh(1)</a>
(C code <code>#define</code>d to death to sort of look like Algol),
and I had been working on the
<a href="https://github.com/dank101/4.2BSD/blob/708b3890ac0c2f034f2840b5ee9125b3c83a05bc/ucb/finger.c">finger(1)</a> command
along with its associated
<a href="https://github.com/dank101/4.3BSD-Reno/tree/master/libexec/fingerd">fingerd(8)</a> daemon
from early 4BSD.
If this is what could result from what some people claim is reasonable
from early 4BSD as used by the GENIX operating system for the NS SYS16 system.</p>
<p><strong>BTW</strong>: The above links to BSD code are only approximations of the BSD code that was being used in the GENIX operating system for the NS SYS16 system. For example, the source code reference to <code>fingerd(8)</code> is well past the 1984 March 23 date.</p>
<p>If this is what could result from what some people claim is reasonable
programming practice, then to what depths might quality sink if people really
tried to write poor code?</p>
<p>I, Landon Curt Noll, put that question to the USENET news groups <code>net.lang.c</code>
Expand Down
18 changes: 15 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,24 @@ The official IOCCC website is [www.ioccc.org](https://www.ioccc.org).

## How it was started:

The original inspiration of the International Obfuscated C Code Contest came
from the Bourne Shell source and the
**It was a dark and stormy night...**

OK, let's go back to 1984, not 1830: one day (1984 March 23 to be exact), Larry Bassel
and I (Landon Curt Noll) were working for National Semiconductor's Genix porting
group, and we were both in our offices trying to fix some very broken code.

Larry had been trying to fix a bug in
the old Bourne shell
[sh&lpar;1&rpar;](https://github.com/dank101/4.2BSD/tree/708b3890ac0c2f034f2840b5ee9125b3c83a05bc/bin/sh)
(C code `#define`d to death to sort of look like Algol),
and I had been working on the
[finger&lpar;1&rpar;](https://github.com/dank101/4.2BSD/blob/708b3890ac0c2f034f2840b5ee9125b3c83a05bc/ucb/finger.c) command
along with its associated
[fingerd&lpar;8&rpar;](https://github.com/dank101/4.3BSD-Reno/tree/master/libexec/fingerd) daemon
from early 4BSD.
from early 4BSD as used by the GENIX operating system for the NS SYS16 system.

**BTW**: The above links to BSD code are only approximations of the BSD code that was being used in the GENIX operating system for the NS SYS16 system. For example, the source code reference to `fingerd(8)` is well past the 1984 March 23 date.

If this is what could result from what some people claim is reasonable
programming practice, then to what depths might quality sink if people really
tried to write poor code?
Expand Down
10 changes: 7 additions & 3 deletions faq.html
Original file line number Diff line number Diff line change
Expand Up @@ -5257,12 +5257,16 @@ <h3 id="q-11.0-how-did-the-ioccc-get-started">Q 11.0: How did the IOCCC get star
<p>OK, let’s go back to 1984, not 1830: one day (1984 March 23 to be exact), Larry Bassel
and I (Landon Curt Noll) were working for National Semiconductor’s Genix porting
group, and we were both in our offices trying to fix some very broken code.</p>
<p>Larry had been trying to fix a bug in the classic Bourne shell (C code <code>#define</code>d
to death to sort of look like Algol) and I had been working on the
<p>Larry had been trying to fix a bug in
the old Bourne shell
<a href="https://github.com/dank101/4.2BSD/tree/708b3890ac0c2f034f2840b5ee9125b3c83a05bc/bin/sh">sh(1)</a>
(C code <code>#define</code>d to death to sort of look like Algol),
and I had been working on the
<a href="https://github.com/dank101/4.2BSD/blob/708b3890ac0c2f034f2840b5ee9125b3c83a05bc/ucb/finger.c">finger(1)</a> command
along with its associated
<a href="https://github.com/dank101/4.3BSD-Reno/tree/master/libexec/fingerd">fingerd(8)</a> daemon
from early 4BSD.</p>
from early 4BSD as used by the GENIX operating system for the NS SYS16 system.</p>
<p><strong>BTW</strong>: The above links to BSD code are only approximations of the BSD code that was being used in the GENIX operating system for the NS SYS16 system. For example, the source code reference to <code>fingerd(8)</code> is well past the 1984 March 23 date.</p>
<p>We happened to both wander (at the same time) out to the hallway
in Building 7C to clear our heads.</p>
<p>We began to compare notes: ‘<em>You won’t believe the code I am trying to fix</em>’.</p>
Expand Down
11 changes: 8 additions & 3 deletions faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -6552,12 +6552,17 @@ OK, let's go back to 1984, not 1830: one day (1984 March 23 to be exact), Larry
and I (Landon Curt Noll) were working for National Semiconductor's Genix porting
group, and we were both in our offices trying to fix some very broken code.

Larry had been trying to fix a bug in the classic Bourne shell (C code `#define`d
to death to sort of look like Algol) and I had been working on the
Larry had been trying to fix a bug in
the old Bourne shell
[sh&lpar;1&rpar;](https://github.com/dank101/4.2BSD/tree/708b3890ac0c2f034f2840b5ee9125b3c83a05bc/bin/sh)
(C code `#define`d to death to sort of look like Algol),
and I had been working on the
[finger&lpar;1&rpar;](https://github.com/dank101/4.2BSD/blob/708b3890ac0c2f034f2840b5ee9125b3c83a05bc/ucb/finger.c) command
along with its associated
[fingerd&lpar;8&rpar;](https://github.com/dank101/4.3BSD-Reno/tree/master/libexec/fingerd) daemon
from early 4BSD.
from early 4BSD as used by the GENIX operating system for the NS SYS16 system.

**BTW**: The above links to BSD code are only approximations of the BSD code that was being used in the GENIX operating system for the NS SYS16 system. For example, the source code reference to `fingerd(8)` is well past the 1984 March 23 date.

We happened to both wander (at the same time) out to the hallway
in Building 7C to clear our heads.
Expand Down
8 changes: 4 additions & 4 deletions sitemap.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15414,11 +15414,11 @@
</url>
<url>
<loc>https://www.ioccc.org/faq.html</loc>
<lastmod>2025-01-18T10:05:03+00:00</lastmod>
<lastmod>2025-01-18T16:34:05+00:00</lastmod>
</url>
<url>
<loc>https://www.ioccc.org/faq.md</loc>
<lastmod>2025-01-18T10:05:03+00:00</lastmod>
<lastmod>2025-01-18T16:33:38+00:00</lastmod>
</url>
<url>
<loc>https://www.ioccc.org/inc/index.html</loc>
Expand Down Expand Up @@ -15466,11 +15466,11 @@
</url>
<url>
<loc>https://www.ioccc.org/README.html</loc>
<lastmod>2025-01-18T10:05:03+00:00</lastmod>
<lastmod>2025-01-18T16:34:09+00:00</lastmod>
</url>
<url>
<loc>https://www.ioccc.org/README.md</loc>
<lastmod>2025-01-18T10:05:03+00:00</lastmod>
<lastmod>2025-01-18T16:33:04+00:00</lastmod>
</url>
<url>
<loc>https://www.ioccc.org/robots.txt</loc>
Expand Down

0 comments on commit 3dc3f7e

Please sign in to comment.