From 67d5e79070b8177ececc747b19b1171d56e558d2 Mon Sep 17 00:00:00 2001
From: Cody Boone Ferguson <53008573+xexyl@users.noreply.github.com>
Date: Fri, 21 Jun 2024 04:59:22 -0700
Subject: [PATCH] Improve bin/output-year-index.sh
Make it consistent with my improvement to bin/gen-years.sh: the entry
awards in the links (to each entry) are now in bold and so are the link
names. This helps them stand out a bit more.
---
1984/index.html | 8 ++++----
1985/index.html | 10 +++++-----
1986/index.html | 18 +++++++++---------
1987/index.html | 14 +++++++-------
1988/index.html | 29 +++++++++++++++--------------
1989/index.html | 20 ++++++++++----------
1990/index.html | 22 +++++++++++-----------
1991/index.html | 18 +++++++++---------
1992/index.html | 26 +++++++++++++-------------
1993/index.html | 22 +++++++++++-----------
1994/index.html | 22 +++++++++++-----------
1995/index.html | 24 ++++++++++++------------
1996/index.html | 22 +++++++++++-----------
1998/index.html | 28 ++++++++++++++--------------
2000/index.html | 28 ++++++++++++++--------------
2001/index.html | 30 +++++++++++++++---------------
2004/index.html | 30 +++++++++++++++---------------
2005/index.html | 30 +++++++++++++++---------------
2006/index.html | 28 ++++++++++++++--------------
2011/index.html | 28 ++++++++++++++--------------
2012/index.html | 28 ++++++++++++++--------------
2013/index.html | 30 +++++++++++++++---------------
2014/index.html | 22 +++++++++++-----------
2015/index.html | 28 ++++++++++++++--------------
2018/index.html | 30 +++++++++++++++---------------
2019/index.html | 28 ++++++++++++++--------------
2020/index.html | 30 +++++++++++++++---------------
bin/output-year-index.sh | 8 +++++---
28 files changed, 332 insertions(+), 329 deletions(-)
diff --git a/1984/index.html b/1984/index.html
index 308a7a009..e7a4e0115 100644
--- a/1984/index.html
+++ b/1984/index.html
@@ -429,10 +429,10 @@ See also the IOCCC FAQ for additional information on t
Download all winning entries from 1984
diff --git a/1985/index.html b/1985/index.html
index e2fff0d5d..3b96114de 100644
--- a/1985/index.html
+++ b/1985/index.html
@@ -428,11 +428,11 @@ See also the IOCCC FAQ for additional information on t
Download all winning entries from 1985
diff --git a/1986/index.html b/1986/index.html
index 1e093f033..eec022a05 100644
--- a/1986/index.html
+++ b/1986/index.html
@@ -437,15 +437,15 @@ See also the IOCCC FAQ for additional information on t
Download all winning entries from 1986
diff --git a/1987/index.html b/1987/index.html
index 7d5787f2c..6f5197bc5 100644
--- a/1987/index.html
+++ b/1987/index.html
@@ -442,13 +442,13 @@ See also the IOCCC FAQ for additional information on t
Download all winning entries from 1987
diff --git a/1988/index.html b/1988/index.html
index 827074abb..1f9d61eb5 100644
--- a/1988/index.html
+++ b/1988/index.html
@@ -394,15 +394,16 @@ You may then wish to look at the Author’s remarks for even more details.
The maximum size of entries was raised from 1024 to 1536 bytes, however smaller
entries were encouraged. Due to the “Best Abuse of the Rules” entry of
1987, a limit of 160 chars in the compile line was introduced.
-This year, the Grand Prize was given to the most unusual entry and best
-abuse of the C Preprocessor rather than the most well rounded entry.
-Rules and results were posted to comp.lang.c,
-comp.sources.unix and alt.sources. The 1988 winning entries will be published
+
This year, the Best of Show was given to the most unusual
+entry and best abuse of the C Preprocessor rather than the most well rounded
+entry.
+Rules and results were posted to comp.lang.c,
+comp.sources.unix and alt.sources. The 1988 winning entries will be published
in the Micro/Systems
Journal.
Winning entries for previous years were repackaged with each year
being in its own directory. Makefiles and hints were also provided.
-The package was posted to the comp.sources.unix newsgroup. They are
+The package was posted to the comp.sources.unix newsgroup. They are
also available on a wide number of USENET archive sites.
IMPORTANT NOTE: See contact.html for up to date contact details
@@ -435,15 +436,15 @@ See also the IOCCC FAQ for additional information on t
Download all winning entries from 1988
diff --git a/1989/index.html b/1989/index.html
index cf4f74325..f744bcb40 100644
--- a/1989/index.html
+++ b/1989/index.html
@@ -439,16 +439,16 @@ See also the IOCCC FAQ for additional information on t
Download all winning entries from 1989
diff --git a/1990/index.html b/1990/index.html
index 1faf8ecb9..1b175a3c9 100644
--- a/1990/index.html
+++ b/1990/index.html
@@ -435,17 +435,17 @@ See also the IOCCC FAQ for additional information on t
Download all winning entries from 1990
diff --git a/1991/index.html b/1991/index.html
index bb420a165..553a29415 100644
--- a/1991/index.html
+++ b/1991/index.html
@@ -486,15 +486,15 @@ as assistant pizza chef. Larry Bassel was official taste tester. Yummo!
Download all winning entries from 1991
diff --git a/1992/index.html b/1992/index.html
index fe34bb1f5..f4f305672 100644
--- a/1992/index.html
+++ b/1992/index.html
@@ -481,19 +481,19 @@ to serve as official taste testers. Yummo!
Download all winning entries from 1992
diff --git a/1993/index.html b/1993/index.html
index a418e4aea..139202421 100644
--- a/1993/index.html
+++ b/1993/index.html
@@ -457,17 +457,17 @@ to serve as official taste testers. And as usual, the food was excellent.
Download all winning entries from 1993
diff --git a/1994/index.html b/1994/index.html
index be2e72c4d..6b4705dbb 100644
--- a/1994/index.html
+++ b/1994/index.html
@@ -516,17 +516,17 @@ Dessert: Homemade chocolate/pecan brownies, fruit
Download all winning entries from 1994
diff --git a/1995/index.html b/1995/index.html
index 97dd26e44..46e2c28ae 100644
--- a/1995/index.html
+++ b/1995/index.html
@@ -518,18 +518,18 @@ Dessert: Key lime pie
Download all winning entries from 1995
diff --git a/1996/index.html b/1996/index.html
index eee18ad59..a661ff0b9 100644
--- a/1996/index.html
+++ b/1996/index.html
@@ -477,17 +477,17 @@ See also the IOCCC FAQ for additional information on t
Download all winning entries from 1996
diff --git a/1998/index.html b/1998/index.html
index 3176221fa..13bda347c 100644
--- a/1998/index.html
+++ b/1998/index.html
@@ -507,20 +507,20 @@ message when sending email to the judges.
Download all winning entries from 1998
diff --git a/2000/index.html b/2000/index.html
index fd774a59d..89227ae29 100644
--- a/2000/index.html
+++ b/2000/index.html
@@ -478,20 +478,20 @@ See also the IOCCC FAQ for additional information on t
Download all winning entries from 2000
diff --git a/2001/index.html b/2001/index.html
index 37d4342c0..eafc4c775 100644
--- a/2001/index.html
+++ b/2001/index.html
@@ -466,21 +466,21 @@ See also the IOCCC FAQ for additional information on t
Download all winning entries from 2001
diff --git a/2004/index.html b/2004/index.html
index 758ebc4ae..efcec07c4 100644
--- a/2004/index.html
+++ b/2004/index.html
@@ -457,21 +457,21 @@ See also the IOCCC FAQ for additional information on t
Download all winning entries from 2004
diff --git a/2005/index.html b/2005/index.html
index 315c2d228..f869719f1 100644
--- a/2005/index.html
+++ b/2005/index.html
@@ -473,21 +473,21 @@ See also the IOCCC FAQ for additional information on t
Download all winning entries from 2005
diff --git a/2006/index.html b/2006/index.html
index fb62701b1..92d79b529 100644
--- a/2006/index.html
+++ b/2006/index.html
@@ -453,20 +453,20 @@ See also the IOCCC FAQ for additional information on t
Download all winning entries from 2006
diff --git a/2011/index.html b/2011/index.html
index 3881e16b2..fb2d66141 100644
--- a/2011/index.html
+++ b/2011/index.html
@@ -452,20 +452,20 @@ See also the IOCCC FAQ for additional information on t
Download all winning entries from 2011
diff --git a/2012/index.html b/2012/index.html
index 773620605..fffe42fb4 100644
--- a/2012/index.html
+++ b/2012/index.html
@@ -488,20 +488,20 @@ See also the IOCCC FAQ for additional information on t
Download all winning entries from 2012
diff --git a/2013/index.html b/2013/index.html
index a202274c8..525b9c86c 100644
--- a/2013/index.html
+++ b/2013/index.html
@@ -474,21 +474,21 @@ See also the IOCCC FAQ for additional information on t
Download all winning entries from 2013
diff --git a/2014/index.html b/2014/index.html
index c4ca2c366..9868bf43a 100644
--- a/2014/index.html
+++ b/2014/index.html
@@ -489,17 +489,17 @@ send us the fix (patch file or the entire changed file).
Download all winning entries from 2014
diff --git a/2015/index.html b/2015/index.html
index efa6e2f8b..6ba20ad32 100644
--- a/2015/index.html
+++ b/2015/index.html
@@ -489,20 +489,20 @@ send us the fix (patch file or the entire changed file).
Download all winning entries from 2015
diff --git a/2018/index.html b/2018/index.html
index 52094ddb2..5bca28393 100644
--- a/2018/index.html
+++ b/2018/index.html
@@ -476,21 +476,21 @@ See also the IOCCC FAQ for additional information on t
Download all winning entries from 2018
diff --git a/2019/index.html b/2019/index.html
index 1c296e484..78c9eba5e 100644
--- a/2019/index.html
+++ b/2019/index.html
@@ -463,20 +463,20 @@ See also the IOCCC FAQ for additional information on t
Download all winning entries from 2019
diff --git a/2020/index.html b/2020/index.html
index f459e0958..7d2211e18 100644
--- a/2020/index.html
+++ b/2020/index.html
@@ -462,21 +462,21 @@ See also the IOCCC FAQ for additional information on t
Download all winning entries from 2020
diff --git a/bin/output-year-index.sh b/bin/output-year-index.sh
index 9e5ed7437..1f1b683c8 100755
--- a/bin/output-year-index.sh
+++ b/bin/output-year-index.sh
@@ -29,6 +29,8 @@
#
# Copyright (c) 2024 by Landon Curt Noll. All Rights Reserved.
#
+# .. with very minor improvements in June 2024 by Cody Boone Ferguson.
+#
# Permission to use, copy, modify, and distribute this software and
# its documentation for any purpose and without fee is hereby granted,
# provided that the above copyright, this permission notice and text
@@ -220,7 +222,7 @@ function output_award
echo "$0: ERROR: in output_award: no award found in .entry.json file: $ENTRY_JSON_PATH" 1>&2
return 5
fi
- echo "$AWARD_STRING"
+ echo "**$AWARD_STRING**"
return 0
}
@@ -429,7 +431,7 @@ if [[ ! -x $PANDOC_WRAPPER ]]; then
exit 5
fi
-# verify that YYYY is a entry directory
+# verify that YYYY is an entry directory
#
if [[ ! -d $YYYY ]]; then
echo "$0: ERROR: arg is not a directory: $YYYY" 1>&2
@@ -646,7 +648,7 @@ for YYYY_DIR in $(< "$YEAR_FILE"); do
#
ENTRY_NAME=$(basename "$YYYY_DIR")
export ENTRY_NAME
- echo "* [$YYYY_DIR]($ENTRY_NAME/index.html) - $AWARD"
+ echo "* [**$YYYY_DIR**]($ENTRY_NAME/index.html) - $AWARD"
done | if [[ -z $NOOP ]]; then
cat >> "$TMP_FILE"
else