Add preview of 1984-2019

The 2020 winners are hinted it, but the source code is not there,
nor are the hints. Someone could look into the HTML and
see what was commented out, but that is not a problem because
WHO won is known and the name of their AWARD is known already.
Moreover a number of the winners have talked about what their
entirs do, so the commented out spoiler text is not a bit problem.

One will find HTML commented out with:

    <!-- XXX remove when 2020 is ready
    2020 links here
    XXX remove when 2020 is ready -->

The "XXX remove when 2020 is ready" string is found at the
start and end comment blocks.  Again, soneone could read
what was commented out, but that is OK since most of that
information is known or can be known.  The following files
have such HTML comment blocks in them.

    ./winners.html
    ./years-spoiler.html
    ./years.html

In addition, ./all/summary.txt was modified to not
include the 2020 entries for the momemt.

The 2020 winner code AND write-ups are NOT part of this set.

p.s. The all/all.tar.bz2 does not contain the 2020 source code (yet?).
This commit is contained in:
Landon Curt Noll committed 2020-12-30 16:57:03 -08:00
1 parent 28efc67f5d
commit c0663537cb
1683 files changed
+220064

No files matched your search

+30
View File
@@ -0,0 +1,30 @@
# %W% %G% %U%
#
# 1987 makefile
#
# Copyright (c) 1987, Landon Curt Noll & Larry Bassel.
# All Rights Reserved. Permission for personal, educational or non-profit
# use is granted provided this this copyright and notice are included in its
# entirety and remains unaltered. All other uses must receive prior permission
# from Landon Curt Noll and Larry Bassel.
SHELL= /bin/sh
WINNERS= korn
# for System V style systems
OPSYS= -Dindex=strchr
# for BSD style systems
#OPSYS=
all: ${WINNERS}
korn: korn.c
cc $? -o $@
clean:
rm -f core
clobber: clean
rm -f ${WINNERS}
install: all
@echo are you kidding'??'
+56
View File
@@ -0,0 +1,56 @@
<h1>Best One Liner</h1>
<p>David Korn<br>
AT&amp;T Bell Labs<br>
MH 3C-526B, AT&amp;T Bell Labs<br>
Murray Hill, NJ<br>
07974<br>
USA</p>
<h2>Judges' comments:</h2>
<p>The Judges believe that this is the best one line entry ever received.
Compile on a UN*X system, or at least using a C implementation that
fakes it. Very few people are able to determine what this program
does by visual inspection. I suggest that you stop reading this
section right now and see if you are one of the few people who can.</p>
<p>Several points are important to understand in this program:</p>
<p>1) What is the symbol &lsquo;unix&rsquo; and what is its value in the program?
Clearly &lsquo;unix&rsquo; is not a function, and since &lsquo;unix&rsquo; is not declared
to be a data type (such as int, char, struct foo, enum, &hellip;)
what must &lsquo;unix&rsquo; be?</p>
<p>2) What is the value of the symbol &ldquo;have&rdquo;? (hint: the value is
NOT 4 characters, or &lsquo;h&rsquo;, or a string) Consider the fact that:</p>
<pre><code> char *x;
</code></pre>
<p> defines a pointer to a character (i.e. an address), and that
the &lsquo;=&rsquo; assigns things is compatible types. Since:</p>
<pre><code> x = "have";
</code></pre>
<p> is legal C, what type of value is &ldquo;have&rdquo;?</p>
<p>3) Note that the following expressions yield the same value:</p>
<pre><code> x[3] *(x+3) *(3+x)
</code></pre>
<p> since addition is communitive. What can be said about the value:</p>
<pre><code> 3[x]
</code></pre>
<p>David Korn&rsquo;s /bin/ksh provides us with a greatly improved version of
the /bin/sh. The source for v7&rsquo;s /bin/sh greatly inspired this contest.</p>
<p>Copyright &copy; 1987, Landon Curt Noll &amp; Larry Bassel.
All Rights Reserved. Permission for personal, educational or non-profit use is
granted provided this this copyright and notice are included in its entirety
and remains unaltered. All other uses must receive prior permission in writing
from both Landon Curt Noll and Larry Bassel.</p>
+52
View File
@@ -0,0 +1,52 @@
# Best One Liner
David Korn
AT&T Bell Labs
MH 3C-526B, AT&T Bell Labs
Murray Hill, NJ
07974
USA
## Judges' comments:
The Judges believe that this is the best one line entry ever received.
Compile on a UN*X system, or at least using a C implementation that
fakes it. Very few people are able to determine what this program
does by visual inspection. I suggest that you stop reading this
section right now and see if you are one of the few people who can.
Several points are important to understand in this program:
1) What is the symbol 'unix' and what is its value in the program?
Clearly 'unix' is not a function, and since 'unix' is not declared
to be a data type (such as int, char, struct foo, enum, ...)
what must 'unix' be?
2) What is the value of the symbol "have"? (hint: the value is
NOT 4 characters, or 'h', or a string) Consider the fact that:
char *x;
defines a pointer to a character (i.e. an address), and that
the '=' assigns things is compatible types. Since:
x = "have";
is legal C, what type of value is "have"?
3) Note that the following expressions yield the same value:
x[3] *(x+3) *(3+x)
since addition is communitive. What can be said about the value:
3[x]
David Korn's /bin/ksh provides us with a greatly improved version of
the /bin/sh. The source for v7's /bin/sh greatly inspired this contest.
Copyright (c) 1987, Landon Curt Noll & Larry Bassel.
All Rights Reserved. Permission for personal, educational or non-profit use is
granted provided this this copyright and notice are included in its entirety
and remains unaltered. All other uses must receive prior permission in writing
from both Landon Curt Noll and Larry Bassel.
+1
View File
@@ -0,0 +1 @@
main() { printf(&unix["\021%six\012\0"],(unix)["have"]+"fun"-0x60);}