improve tmp filenames in bin tools

Temporary files are now of the form:

```
export TMP_AB_CD=".tmp.NAME.AB_CD.$$.tmp"
```

Where `NAME` is the basename of the script, and `AB_CD` is the
part of the exported variable name after the "TMP_".

This will help avoid bugs such as that
commit c7dc9a9f6b had to fix.

Added `.tmp.*` to the top level `.gitignore` file.

Changed `bin/chk-entry.sh` VERSION from "1.1.6 2024-04-13"
to "1.1.7 2024-04-28".

Changed `bin/gen-authors.sh` VERSION from "1.9 2024-04-21"
to "1.9.1 2024-04-28".

Changed `bin/gen-location.sh` VERSION from "1.4 2024-04-21"
to "1.4.1 2024-04-28".

Changed `bin/gen-other-html.sh` VERSION from "1.2.2 2024-04-21"
to "1.2.3 2024-04-28".

Changed `bin/gen-sitemap.sh` VERSION from "1.3.7 2024-04-14"
to "1.3.8 2024-04-28".

Changed `bin/gen-status.sh` VERSION from "1.5 2024-04-22"
to "1.5.1 2024-04-28".

Changed `bin/gen-years.sh` VERSION from "1.3 2024-04-21"
to "1.3.1 2024-04-28".

Changed `bin/md2html.sh` VERSION from "1.5 2024-04-20"
to "1.5.1 2024-04-28".

Changed `bin/output-index-author.sh` VERSION from "1.7 2024-04-15"
to "1.7.1 2024-04-28".

Changed `bin/output-index-inventory.sh` VERSION from "1.4 2024-04-21"
to "1.4.1 2024-04-28".

Changed `bin/output-year-index.sh` VERSION from "1.4 2024-04-21"
to "1.4.1 2024-04-28".

Changed `bin/sort.gitignore.sh` VERSION from "1.1.6 2024-04-13"
to "1.1.7 2024-04-28".

Changed `bin/status2html.sh` VERSION from "1.4 2024-04-18"
to "1.4.1 2024-04-28".

Changed `bin/tar-entry.sh` VERSION from "1.3.5 2024-04-13"
to "1.3.6 2024-04-28".

Changed `bin/tar-year.sh` VERSION from "1.2.3 2024-04-13"
to "1.2.4 2024-04-28".

Ran `make www` to perform test the above under macOS.
This commit is contained in:
Landon Curt Noll committed 2024-04-28 14:32:45 -07:00
1 parent c7dc9a9f6b
commit b3afeeaddd
21 files changed
+59 -58

No files matched your search

+1
View File
@@ -29,6 +29,7 @@
/archive/historic/2018 /archive/historic/2018
/archive/historic/2019 /archive/historic/2019
/archive/historic/2020 /archive/historic/2020
.tmp.*
.su[a-z] .su[a-z]
.*.sv[a-z] .*.sv[a-z]
.*.sw[a-z] .*.sw[a-z]
+3 -3
View File
@@ -83,7 +83,7 @@ shopt -s globstar # enable ** to match all files and zero or more directories an
# set variables referenced in the usage message # set variables referenced in the usage message
# #
export VERSION="1.1.6 2024-04-13" export VERSION="1.1.7 2024-04-28"
NAME=$(basename "$0") NAME=$(basename "$0")
export NAME export NAME
export V_FLAG=0 export V_FLAG=0
@@ -386,7 +386,7 @@ fi
# create a temporary file manifest list # create a temporary file manifest list
# #
export TMP_MANIFEST_LIST=".$NAME.$$.manifest.list" export TMP_MANIFEST_LIST=".tmp.$NAME.MANIFEST_LIST.$$.tmp"
if [[ $V_FLAG -ge 3 ]]; then if [[ $V_FLAG -ge 3 ]]; then
echo "$0: debug[3]: temporary file manifest list: $TMP_MANIFEST_LIST" 1>&2 echo "$0: debug[3]: temporary file manifest list: $TMP_MANIFEST_LIST" 1>&2
fi fi
@@ -408,7 +408,7 @@ fi
# create a temporary find files list # create a temporary find files list
# #
export TMP_FILE_LIST=".$NAME.$$.find.list" export TMP_FILE_LIST=".tmp.$NAME.FILE_LIST.$$.tmp"
if [[ $V_FLAG -ge 3 ]]; then if [[ $V_FLAG -ge 3 ]]; then
echo "$0: debug[3]: temporary file manifest list: $TMP_FILE_LIST" 1>&2 echo "$0: debug[3]: temporary file manifest list: $TMP_FILE_LIST" 1>&2
fi fi
+1 -1
View File
@@ -296,7 +296,7 @@ fi
# create a temporary missing link error message file # create a temporary missing link error message file
# #
export TMP_MISSING_LINK=".tmp.$NAME.$$" export TMP_MISSING_LINK=".tmp.$NAME.MISSING_LINK.$$.tmp"
if [[ $V_FLAG -ge 3 ]]; then if [[ $V_FLAG -ge 3 ]]; then
echo "$0: debug[3]: temporary missing link error message file: $TMP_MISSING_LINK" 1>&2 echo "$0: debug[3]: temporary missing link error message file: $TMP_MISSING_LINK" 1>&2
fi fi
+3 -3
View File
@@ -83,7 +83,7 @@ shopt -s globstar # enable ** to match all files and zero or more directories an
# set variables referenced in the usage message # set variables referenced in the usage message
# #
export VERSION="1.9 2024-04-21" export VERSION="1.9.1 2024-04-28"
NAME=$(basename "$0") NAME=$(basename "$0")
export NAME export NAME
export V_FLAG=0 export V_FLAG=0
@@ -702,7 +702,7 @@ fi
# create a temporary entry markdown file # create a temporary entry markdown file
# #
export TMP_AUTHORS_MD=".$NAME.$$.entry.md" export TMP_AUTHORS_MD=".tmp.$NAME.AUTHORS_MD.$$.tmp"
if [[ $V_FLAG -ge 3 ]]; then if [[ $V_FLAG -ge 3 ]]; then
echo "$0: debug[3]: temporary entry markdown file: $TMP_AUTHORS_MD" 1>&2 echo "$0: debug[3]: temporary entry markdown file: $TMP_AUTHORS_MD" 1>&2
fi fi
@@ -724,7 +724,7 @@ fi
# create a temporary sort word list file # create a temporary sort word list file
# #
export TMP_SORT_WORD=".$NAME.$$.sort.word" export TMP_SORT_WORD=".tmp.$NAME.SORT_WORD.$$.tmp"
if [[ $V_FLAG -ge 3 ]]; then if [[ $V_FLAG -ge 3 ]]; then
echo "$0: debug[3]: temporary sort word list file: $TMP_SORT_WORD" 1>&2 echo "$0: debug[3]: temporary sort word list file: $TMP_SORT_WORD" 1>&2
fi fi
+2 -2
View File
@@ -84,7 +84,7 @@ shopt -s globstar # enable ** to match all files and zero or more directories an
# set variables referenced in the usage message # set variables referenced in the usage message
# #
export VERSION="1.4 2024-04-21" export VERSION="1.4.1 2024-04-28"
NAME=$(basename "$0") NAME=$(basename "$0")
export NAME export NAME
export V_FLAG=0 export V_FLAG=0
@@ -427,7 +427,7 @@ fi
# create a temporary location markdown file # create a temporary location markdown file
# #
export TMP_LOC_MD=".$NAME.$$.location.md" export TMP_LOC_MD=".tmp.$NAME.LOC_MD.$$.tmp"
if [[ $V_FLAG -ge 3 ]]; then if [[ $V_FLAG -ge 3 ]]; then
echo "$0: debug[3]: temporary location markdown file: $TMP_LOC_MD" 1>&2 echo "$0: debug[3]: temporary location markdown file: $TMP_LOC_MD" 1>&2
fi fi
+2 -2
View File
@@ -84,7 +84,7 @@ shopt -s globstar # enable ** to match all files and zero or more directories an
# set variables referenced in the usage message # set variables referenced in the usage message
# #
export VERSION="1.2.2 2024-04-21" export VERSION="1.2.3 2024-04-28"
NAME=$(basename "$0") NAME=$(basename "$0")
export NAME export NAME
export V_FLAG=0 export V_FLAG=0
@@ -384,7 +384,7 @@ fi
# It is a pain to set the EXIT_CODE deep inside a loop, so we write the EXIT_CODE into a file # It is a pain to set the EXIT_CODE deep inside a loop, so we write the EXIT_CODE into a file
# and read the file (setting EXIT_CODE again) after the loop. A hack, but good enough for our needs. # and read the file (setting EXIT_CODE again) after the loop. A hack, but good enough for our needs.
# #
export TMP_EXIT_CODE=".$NAME.$$.exit.code" export TMP_EXIT_CODE=".tmp.$NAME.EXIT_CODE.$$.tmp"
if [[ $V_FLAG -ge 3 ]]; then if [[ $V_FLAG -ge 3 ]]; then
echo "$0: debug[3]: temporary exit code: $TMP_EXIT_CODE" 1>&2 echo "$0: debug[3]: temporary exit code: $TMP_EXIT_CODE" 1>&2
fi fi
+4 -4
View File
@@ -84,7 +84,7 @@ shopt -s globstar # enable ** to match all files and zero or more directories an
# set variables referenced in the usage message # set variables referenced in the usage message
# #
export VERSION="1.3.7 2024-04-14" export VERSION="1.3.8 2024-04-28"
NAME=$(basename "$0") NAME=$(basename "$0")
export NAME export NAME
export V_FLAG=0 export V_FLAG=0
@@ -510,7 +510,7 @@ fi
# create a temporary file manifest list # create a temporary file manifest list
# #
export TMP_MANIFEST_LIST=".$NAME.$$.manifest.list" export TMP_MANIFEST_LIST=".tmp.$NAME.MANIFEST_LIST.$$.tmp"
if [[ $V_FLAG -ge 3 ]]; then if [[ $V_FLAG -ge 3 ]]; then
echo "$0: debug[3]: temporary file manifest list: $TMP_MANIFEST_LIST" 1>&2 echo "$0: debug[3]: temporary file manifest list: $TMP_MANIFEST_LIST" 1>&2
fi fi
@@ -531,7 +531,7 @@ fi
# It is a pain to set the EXIT_CODE deep inside a loop, so we write the EXIT_CODE into a file # It is a pain to set the EXIT_CODE deep inside a loop, so we write the EXIT_CODE into a file
# and read the file (setting EXIT_CODE again) after the loop. A hack, but good enough for our needs. # and read the file (setting EXIT_CODE again) after the loop. A hack, but good enough for our needs.
# #
export TMP_EXIT_CODE=".$NAME.$$.exit.code" export TMP_EXIT_CODE=".tmp.$NAME.EXIT_CODE.$$.tmp"
if [[ $V_FLAG -ge 3 ]]; then if [[ $V_FLAG -ge 3 ]]; then
echo "$0: debug[3]: temporary exit code: $TMP_EXIT_CODE" 1>&2 echo "$0: debug[3]: temporary exit code: $TMP_EXIT_CODE" 1>&2
fi fi
@@ -549,7 +549,7 @@ fi
# create a temporary sitemap # create a temporary sitemap
# #
export TMP_SITEMAP=".$NAME.$$.sitemap" export TMP_SITEMAP=".tmp.$NAME.SITEMAP.$$.tmp"
if [[ $V_FLAG -ge 3 ]]; then if [[ $V_FLAG -ge 3 ]]; then
echo "$0: debug[3]: temporary tarball: $TMP_SITEMAP" 1>&2 echo "$0: debug[3]: temporary tarball: $TMP_SITEMAP" 1>&2
fi fi
+4 -4
View File
@@ -84,7 +84,7 @@ shopt -s globstar # enable ** to match all files and zero or more directories an
# set variables referenced in the usage message # set variables referenced in the usage message
# #
export VERSION="1.5 2024-04-22" export VERSION="1.5.1 2024-04-28"
NAME=$(basename "$0") NAME=$(basename "$0")
export NAME export NAME
export V_FLAG=0 export V_FLAG=0
@@ -910,7 +910,7 @@ fi
# create a temporary status.json file # create a temporary status.json file
# #
export TMP_STATUS_JSON=".$NAME.$$.entry.md" export TMP_STATUS_JSON=".tmp.$NAME.STATUS_JSON.$$.tmp"
if [[ $V_FLAG -ge 3 ]]; then if [[ $V_FLAG -ge 3 ]]; then
echo "$0: debug[3]: temporary status.json file: $TMP_STATUS_JSON" 1>&2 echo "$0: debug[3]: temporary status.json file: $TMP_STATUS_JSON" 1>&2
fi fi
@@ -932,7 +932,7 @@ fi
# create a temporary rules.md file # create a temporary rules.md file
# #
export TMP_RULES_MD=".$NAME.$$.entry.md" export TMP_RULES_MD=".tmp.$NAME.RULES_MD.$$.tmp"
if [[ $V_FLAG -ge 3 ]]; then if [[ $V_FLAG -ge 3 ]]; then
echo "$0: debug[3]: temporary rules.md file: $TMP_RULES_MD" 1>&2 echo "$0: debug[3]: temporary rules.md file: $TMP_RULES_MD" 1>&2
fi fi
@@ -954,7 +954,7 @@ fi
# create a temporary guidelines.md file # create a temporary guidelines.md file
# #
export TMP_GUIDELINES_MD=".$NAME.$$.entry.md" export TMP_GUIDELINES_MD=".tmp.$NAME.GUIDELINES_MD.$$.tmp"
if [[ $V_FLAG -ge 3 ]]; then if [[ $V_FLAG -ge 3 ]]; then
echo "$0: debug[3]: temporary guidelines.md file: $TMP_GUIDELINES_MD" 1>&2 echo "$0: debug[3]: temporary guidelines.md file: $TMP_GUIDELINES_MD" 1>&2
fi fi
+2 -2
View File
@@ -83,7 +83,7 @@ shopt -s globstar # enable ** to match all files and zero or more directories an
# set variables referenced in the usage message # set variables referenced in the usage message
# #
export VERSION="1.3 2024-04-21" export VERSION="1.3.1 2024-04-28"
NAME=$(basename "$0") NAME=$(basename "$0")
export NAME export NAME
export V_FLAG=0 export V_FLAG=0
@@ -548,7 +548,7 @@ fi
# create a temporary years markdown file # create a temporary years markdown file
# #
export TMP_YEARS_MD=".$NAME.$$.years.md" export TMP_YEARS_MD=".tmp.$NAME.YEARS_MD.$$.tmp"
if [[ $V_FLAG -ge 3 ]]; then if [[ $V_FLAG -ge 3 ]]; then
echo "$0: debug[3]: temporary years markdown file: $TMP_YEARS_MD" 1>&2 echo "$0: debug[3]: temporary years markdown file: $TMP_YEARS_MD" 1>&2
fi fi
+6 -6
View File
@@ -141,7 +141,7 @@ shopt -s lastpipe # run last command of a pipeline not executed in the backgroun
# set variables referenced in the usage message # set variables referenced in the usage message
# #
export VERSION="1.5 2024-04-20" export VERSION="1.5.1 2024-04-28"
NAME=$(basename "$0") NAME=$(basename "$0")
export NAME export NAME
export V_FLAG=0 export V_FLAG=0
@@ -1589,7 +1589,7 @@ fi
# create a temporary sed script # create a temporary sed script
# #
export TMP_SED_SCRIPT=".$NAME.$$.sed" export TMP_SED_SCRIPT=".tmp.$NAME.SED_SCRIPT.$$.tmp"
if [[ $V_FLAG -ge 5 ]]; then if [[ $V_FLAG -ge 5 ]]; then
echo "$0: debug[5]: temporary sed script: $TMP_SED_SCRIPT" 1>&2 echo "$0: debug[5]: temporary sed script: $TMP_SED_SCRIPT" 1>&2
fi fi
@@ -1632,7 +1632,7 @@ fi
# #
# NOTE: This file, when we are finished building it, will be come the final index.html file. # NOTE: This file, when we are finished building it, will be come the final index.html file.
# #
export TMP_PHASE=".$NAME.$$.html-phase.html" export TMP_PHASE=".tmp.$NAME.PHASE.$$.tmp"
if [[ $V_FLAG -ge 5 ]]; then if [[ $V_FLAG -ge 5 ]]; then
echo "$0: debug[5]: temporary HTML file: $TMP_PHASE" 1>&2 echo "$0: debug[5]: temporary HTML file: $TMP_PHASE" 1>&2
fi fi
@@ -1659,7 +1659,7 @@ fi
# #
# NOTE: This file, when we are finished building it, will be come the final index.html file. # NOTE: This file, when we are finished building it, will be come the final index.html file.
# #
export TMP_INDEX_HTML=".$NAME.$$.index.html" export TMP_INDEX_HTML=".tmp.$NAME.INDEX_HTML.$$.tmp"
if [[ $V_FLAG -ge 5 ]]; then if [[ $V_FLAG -ge 5 ]]; then
echo "$0: debug[5]: temporary index HTML file: $TMP_INDEX_HTML" 1>&2 echo "$0: debug[5]: temporary index HTML file: $TMP_INDEX_HTML" 1>&2
fi fi
@@ -1687,7 +1687,7 @@ fi
export ORIG_INPUT_MD="$MATCH_MD" export ORIG_INPUT_MD="$MATCH_MD"
if [[ -z $NOOP ]]; then if [[ -z $NOOP ]]; then
if [[ $INPUT_MD == - ]]; then if [[ $INPUT_MD == - ]]; then
export TMP_INPUT_MD=".$NAME.$$.stdin.md" export TMP_INPUT_MD=".tmp.$NAME.INPUT_MD.$$.tmp"
if [[ $V_FLAG -ge 5 ]]; then if [[ $V_FLAG -ge 5 ]]; then
echo "$0: debug[5]: temporary stdin file: $TMP_INPUT_MD" 1>&2 echo "$0: debug[5]: temporary stdin file: $TMP_INPUT_MD" 1>&2
fi fi
@@ -1731,7 +1731,7 @@ fi
# #
if [[ -z $NOOP ]]; then if [[ -z $NOOP ]]; then
export TMP_STRIPPED_MD=".$NAME.$$.stripped.md" export TMP_STRIPPED_MD=".tmp.$NAME.STRIPPED_MD.$$.tmp"
if [[ $V_FLAG -ge 5 ]]; then if [[ $V_FLAG -ge 5 ]]; then
echo "$0: debug[5]: temporary stripped markdown file: $TMP_STRIPPED_MD" 1>&2 echo "$0: debug[5]: temporary stripped markdown file: $TMP_STRIPPED_MD" 1>&2
fi fi
+2 -2
View File
@@ -101,7 +101,7 @@ shopt -s globstar # enable ** to match all files and zero or more directories an
# set variables referenced in the usage message # set variables referenced in the usage message
# #
export VERSION="1.7 2024-04-15" export VERSION="1.7.1 2024-04-28"
NAME=$(basename "$0") NAME=$(basename "$0")
export NAME export NAME
export V_FLAG=0 export V_FLAG=0
@@ -747,7 +747,7 @@ fi
# create a temporary markdown for pandoc to process # create a temporary markdown for pandoc to process
# #
export TMP_FILE=".$NAME.$$.md" export TMP_FILE=".tmp.$NAME.FILE.$$.tmp"
if [[ $V_FLAG -ge 3 ]]; then if [[ $V_FLAG -ge 3 ]]; then
echo "$0: debug[3]: temporary markdown file: $TMP_FILE" 1>&2 echo "$0: debug[3]: temporary markdown file: $TMP_FILE" 1>&2
fi fi
+3 -3
View File
@@ -101,7 +101,7 @@ shopt -s globstar # enable '**' to match all files and zero or more directories
# set variables referenced in the usage message # set variables referenced in the usage message
# #
export VERSION="1.4 2024-04-21" export VERSION="1.4.1 2024-04-28"
NAME=$(basename "$0") NAME=$(basename "$0")
export NAME export NAME
export V_FLAG=0 export V_FLAG=0
@@ -465,7 +465,7 @@ fi
# create a temporary markdown for pandoc to process # create a temporary markdown for pandoc to process
# #
export TMP_FILE=".$NAME.$$.md" export TMP_FILE=".tmp.$NAME.FILE.$$.tmp"
if [[ $V_FLAG -ge 3 ]]; then if [[ $V_FLAG -ge 3 ]]; then
echo "$0: debug[3]: temporary markdown file: $TMP_FILE" 1>&2 echo "$0: debug[3]: temporary markdown file: $TMP_FILE" 1>&2
fi fi
@@ -487,7 +487,7 @@ fi
# create a temporary manifest file # create a temporary manifest file
# #
export TMP_MANIFEST=".$NAME.$$.manifest" export TMP_MANIFEST=".tmp.$NAME.MANIFEST.$$.tmp"
if [[ $V_FLAG -ge 3 ]]; then if [[ $V_FLAG -ge 3 ]]; then
echo "$0: debug[3]: temporary manifest file: $TMP_MANIFEST" 1>&2 echo "$0: debug[3]: temporary manifest file: $TMP_MANIFEST" 1>&2
fi fi
+2 -2
View File
@@ -108,7 +108,7 @@ shopt -s globstar # enable ** to match all files and zero or more directories an
# set variables referenced in the usage message # set variables referenced in the usage message
# #
export VERSION="1.4 2024-04-21" export VERSION="1.4.1 2024-04-28"
NAME=$(basename "$0") NAME=$(basename "$0")
export NAME export NAME
export V_FLAG=0 export V_FLAG=0
@@ -527,7 +527,7 @@ fi
# create a temporary markdown for pandoc to process # create a temporary markdown for pandoc to process
# #
export TMP_FILE=".$NAME.$$.md" export TMP_FILE=".tmp.$NAME.FILE.$$.tmp"
if [[ $V_FLAG -ge 3 ]]; then if [[ $V_FLAG -ge 3 ]]; then
echo "$0: debug[3]: temporary markdown file: $TMP_FILE" 1>&2 echo "$0: debug[3]: temporary markdown file: $TMP_FILE" 1>&2
fi fi
+2 -2
View File
@@ -99,7 +99,7 @@ shopt -s globstar # enable ** to match all files and zero or more directories an
# set variables referenced in the usage message # set variables referenced in the usage message
# #
export VERSION="1.1.6 2024-04-13" export VERSION="1.1.7 2024-04-28"
NAME=$(basename "$0") NAME=$(basename "$0")
export NAME export NAME
export V_FLAG=0 export V_FLAG=0
@@ -398,7 +398,7 @@ fi
# create a temporary markdown for pandoc to process # create a temporary markdown for pandoc to process
# #
export TMP_FILE="$ENTRY_PATH/.$NAME.$$.sgi.sh" export TMP_FILE="$ENTRY_PATH/.tmp.$NAME.FILE.$$.tmp"
if [[ $V_FLAG -ge 3 ]]; then if [[ $V_FLAG -ge 3 ]]; then
echo "$0: debug[3]: temporary markdown file: $TMP_FILE" 1>&2 echo "$0: debug[3]: temporary markdown file: $TMP_FILE" 1>&2
fi fi
+2 -2
View File
@@ -99,7 +99,7 @@ shopt -s globstar # enable ** to match all files and zero or more directories an
# set variables referenced in the usage message # set variables referenced in the usage message
# #
export VERSION="1.4 2024-04-18" export VERSION="1.4.1 2024-04-28"
NAME=$(basename "$0") NAME=$(basename "$0")
export NAME export NAME
export V_FLAG=0 export V_FLAG=0
@@ -363,7 +363,7 @@ fi
# create a temporary markdown for pandoc to process # create a temporary markdown for pandoc to process
# #
export TMP_FILE=".$NAME.$$.md" export TMP_FILE=".tmp.$NAME.FILE.$$.tmp"
if [[ $V_FLAG -ge 3 ]]; then if [[ $V_FLAG -ge 3 ]]; then
echo "$0: debug[3]: temporary markdown file: $TMP_FILE" 1>&2 echo "$0: debug[3]: temporary markdown file: $TMP_FILE" 1>&2
fi fi
+6 -6
View File
@@ -83,7 +83,7 @@ shopt -s globstar # enable ** to match all files and zero or more directories an
# set variables referenced in the usage message # set variables referenced in the usage message
# #
export VERSION="1.3.5 2024-04-13" export VERSION="1.3.6 2024-04-28"
NAME=$(basename "$0") NAME=$(basename "$0")
export NAME export NAME
export V_FLAG=0 export V_FLAG=0
@@ -483,7 +483,7 @@ fi
# create a temporary file manifest list # create a temporary file manifest list
# #
export TMP_MANIFEST_LIST=".$NAME.$$.manifest.list" export TMP_MANIFEST_LIST=".tmp.$NAME.MANIFEST_LIST.$$.tmp"
if [[ $V_FLAG -ge 3 ]]; then if [[ $V_FLAG -ge 3 ]]; then
echo "$0: debug[3]: temporary file manifest list: $TMP_MANIFEST_LIST" 1>&2 echo "$0: debug[3]: temporary file manifest list: $TMP_MANIFEST_LIST" 1>&2
fi fi
@@ -505,7 +505,7 @@ fi
# create a temporary sort list of files to tar # create a temporary sort list of files to tar
# #
export TMP_FILES_TO_TAR=".$NAME.$$.tar.list" export TMP_FILES_TO_TAR=".tmp.$NAME.FILES_TO_TAR.$$.tmp"
if [[ $V_FLAG -ge 3 ]]; then if [[ $V_FLAG -ge 3 ]]; then
echo "$0: debug[3]: temporary list of files to tar: $TMP_FILES_TO_TAR" 1>&2 echo "$0: debug[3]: temporary list of files to tar: $TMP_FILES_TO_TAR" 1>&2
fi fi
@@ -530,7 +530,7 @@ fi
# It is a pain to set the EXIT_CODE deep inside a loop, so we write the EXIT_CODE into a file # It is a pain to set the EXIT_CODE deep inside a loop, so we write the EXIT_CODE into a file
# and read the file (setting EXIT_CODE again) after the loop. A hack, but good enough for our needs. # and read the file (setting EXIT_CODE again) after the loop. A hack, but good enough for our needs.
# #
export TMP_EXIT_CODE=".$NAME.$$.exit.code" export TMP_EXIT_CODE=".tmp.$NAME.EXIT_CODE.$$.tmp"
if [[ $V_FLAG -ge 3 ]]; then if [[ $V_FLAG -ge 3 ]]; then
echo "$0: debug[3]: temporary exit code: $TMP_EXIT_CODE" 1>&2 echo "$0: debug[3]: temporary exit code: $TMP_EXIT_CODE" 1>&2
fi fi
@@ -615,7 +615,7 @@ fi
# create a temporary list of files found in the tarball # create a temporary list of files found in the tarball
# #
export TMP_TARBALL_LIST=".$NAME.$$.tarball.list" export TMP_TARBALL_LIST=".tmp.$NAME.TARBALL_LIST.$$.tmp"
if [[ $V_FLAG -ge 3 ]]; then if [[ $V_FLAG -ge 3 ]]; then
echo "$0: debug[3]: temporary of files in the tarball: $TARBALL: $TMP_TARBALL_LIST" 1>&2 echo "$0: debug[3]: temporary of files in the tarball: $TARBALL: $TMP_TARBALL_LIST" 1>&2
fi fi
@@ -637,7 +637,7 @@ fi
# create a temporary tarball # create a temporary tarball
# #
export TMP_TARBALL=".$NAME.$$.tar.bz2" export TMP_TARBALL=".tmp.$NAME.TARBALL.$$.tmp"
if [[ $V_FLAG -ge 3 ]]; then if [[ $V_FLAG -ge 3 ]]; then
echo "$0: debug[3]: temporary tarball: $TMP_TARBALL" 1>&2 echo "$0: debug[3]: temporary tarball: $TMP_TARBALL" 1>&2
fi fi
+6 -6
View File
@@ -83,7 +83,7 @@ shopt -s globstar # enable ** to match all files and zero or more directories an
# set variables referenced in the usage message # set variables referenced in the usage message
# #
export VERSION="1.2.3 2024-04-13" export VERSION="1.2.4 2024-04-28"
NAME=$(basename "$0") NAME=$(basename "$0")
export NAME export NAME
export V_FLAG=0 export V_FLAG=0
@@ -424,7 +424,7 @@ fi
# create a temporary file manifest list # create a temporary file manifest list
# #
export TMP_MANIFEST_LIST=".$NAME.$$.manifest.list" export TMP_MANIFEST_LIST=".tmp.$NAME.MANIFEST_LIST.$$.tmp"
if [[ $V_FLAG -ge 3 ]]; then if [[ $V_FLAG -ge 3 ]]; then
echo "$0: debug[3]: temporary file manifest list: $TMP_MANIFEST_LIST" 1>&2 echo "$0: debug[3]: temporary file manifest list: $TMP_MANIFEST_LIST" 1>&2
fi fi
@@ -446,7 +446,7 @@ fi
# create a temporary sort list of files to tar # create a temporary sort list of files to tar
# #
export TMP_FILES_TO_TAR=".$NAME.$$.tar.list" export TMP_FILES_TO_TAR=".tmp.$NAME.FILES_TO_TAR.$$.tmp"
if [[ $V_FLAG -ge 3 ]]; then if [[ $V_FLAG -ge 3 ]]; then
echo "$0: debug[3]: temporary list of files to tar: $TMP_FILES_TO_TAR" 1>&2 echo "$0: debug[3]: temporary list of files to tar: $TMP_FILES_TO_TAR" 1>&2
fi fi
@@ -471,7 +471,7 @@ fi
# It is a pain to set the EXIT_CODE deep inside a loop, so we write the EXIT_CODE into a file # It is a pain to set the EXIT_CODE deep inside a loop, so we write the EXIT_CODE into a file
# and read the file (setting EXIT_CODE again) after the loop. A hack, but good enough for our needs. # and read the file (setting EXIT_CODE again) after the loop. A hack, but good enough for our needs.
# #
export TMP_EXIT_CODE=".$NAME.$$.exit.code" export TMP_EXIT_CODE=".tmp.$NAME.EXIT_CODE.$$.tmp"
if [[ $V_FLAG -ge 3 ]]; then if [[ $V_FLAG -ge 3 ]]; then
echo "$0: debug[3]: temporary exit code: $TMP_EXIT_CODE" 1>&2 echo "$0: debug[3]: temporary exit code: $TMP_EXIT_CODE" 1>&2
fi fi
@@ -720,7 +720,7 @@ fi
# create a temporary list of files found in the tarball # create a temporary list of files found in the tarball
# #
export TMP_TARBALL_LIST=".$NAME.$$.tarball.list" export TMP_TARBALL_LIST=".tmp.$NAME.TARBALL_LIST.$$.tmp"
if [[ $V_FLAG -ge 3 ]]; then if [[ $V_FLAG -ge 3 ]]; then
echo "$0: debug[3]: temporary of files in the tarball: $TARBALL: $TMP_TARBALL_LIST" 1>&2 echo "$0: debug[3]: temporary of files in the tarball: $TARBALL: $TMP_TARBALL_LIST" 1>&2
fi fi
@@ -742,7 +742,7 @@ fi
# create a temporary tarball # create a temporary tarball
# #
export TMP_TARBALL=".$NAME.$$.tar.bz2" export TMP_TARBALL=".tmp.$NAME.TARBALL.$$.tmp"
if [[ $V_FLAG -ge 3 ]]; then if [[ $V_FLAG -ge 3 ]]; then
echo "$0: debug[3]: temporary tarball: $TMP_TARBALL" 1>&2 echo "$0: debug[3]: temporary tarball: $TMP_TARBALL" 1>&2
fi fi
+2 -2
View File
@@ -387,8 +387,8 @@ might be used in a future IOCCC.</p>
<p>Please regard these guidelines as a historic archive.</p> <p>Please regard these guidelines as a historic archive.</p>
<h1 id="the-ioccc-is-closed">The IOCCC is closed</h1> <h1 id="the-ioccc-is-closed">The IOCCC is closed</h1>
<p>The IOCCC is <strong>NOT</strong> accepting new submissions at this time. See the <p>The IOCCC is <strong>NOT</strong> accepting new submissions at this time. See the
<a href="../years.html">IOCCC winning entries page</a> for the entires that have won the IOCCC.</p> <a href="years.html">IOCCC winning entries page</a> for the entires that have won the IOCCC.</p>
<p>Watch both <a href="../status.html">the IOCCC status page</a> and the <p>Watch both <a href="status.html">the IOCCC status page</a> and the
<a href="https://fosstodon.org/@ioccc"><span class="citation" data-cites="IOCCC">@IOCCC</span> mastodon feed</a> for information about future IOCCC openings.</p> <a href="https://fosstodon.org/@ioccc"><span class="citation" data-cites="IOCCC">@IOCCC</span> mastodon feed</a> for information about future IOCCC openings.</p>
<!-- END: the next line ends content from: inc/guidelines.closed.hdr --> <!-- END: the next line ends content from: inc/guidelines.closed.hdr -->
<!-- This is the last line modified by the tool: bin/gen-status.sh --> <!-- This is the last line modified by the tool: bin/gen-status.sh -->
+2 -2
View File
@@ -13,9 +13,9 @@ Please regard these guidelines as a historic archive.
# The IOCCC is closed # The IOCCC is closed
The IOCCC is **NOT** accepting new submissions at this time. See the The IOCCC is **NOT** accepting new submissions at this time. See the
[IOCCC winning entries page](../years.html) for the entires that have won the IOCCC. [IOCCC winning entries page](years.html) for the entires that have won the IOCCC.
Watch both [the IOCCC status page](../status.html) and the Watch both [the IOCCC status page](status.html) and the
[@IOCCC mastodon feed](https://fosstodon.org/@ioccc) for information about future IOCCC openings. [@IOCCC mastodon feed](https://fosstodon.org/@ioccc) for information about future IOCCC openings.
<!-- END: the next line ends content from: inc/guidelines.closed.hdr --> <!-- END: the next line ends content from: inc/guidelines.closed.hdr -->
+2 -2
View File
@@ -387,8 +387,8 @@ might be used in a future IOCCC.</p>
<p>Please regard these rules as a historic archive.</p> <p>Please regard these rules as a historic archive.</p>
<h1 id="the-ioccc-is-closed">The IOCCC is closed</h1> <h1 id="the-ioccc-is-closed">The IOCCC is closed</h1>
<p>The IOCCC is <strong>NOT</strong> accepting new submissions at this time. See the <p>The IOCCC is <strong>NOT</strong> accepting new submissions at this time. See the
<a href="../years.html">IOCCC winning entries page</a> for the entires that have won the IOCCC.</p> <a href="years.html">IOCCC winning entries page</a> for the entires that have won the IOCCC.</p>
<p>Watch both <a href="../status.html">the IOCCC status page</a> and the <p>Watch both <a href="status.html">the IOCCC status page</a> and the
<a href="https://fosstodon.org/@ioccc"><span class="citation" data-cites="IOCCC">@IOCCC</span> mastodon feed</a> for information about future IOCCC openings.</p> <a href="https://fosstodon.org/@ioccc"><span class="citation" data-cites="IOCCC">@IOCCC</span> mastodon feed</a> for information about future IOCCC openings.</p>
<!-- END: the next line ends content from: inc/rules.closed.hdr --> <!-- END: the next line ends content from: inc/rules.closed.hdr -->
<!-- This is the last line modified by the tool: bin/gen-status.sh --> <!-- This is the last line modified by the tool: bin/gen-status.sh -->
+2 -2
View File
@@ -13,9 +13,9 @@ Please regard these rules as a historic archive.
# The IOCCC is closed # The IOCCC is closed
The IOCCC is **NOT** accepting new submissions at this time. See the The IOCCC is **NOT** accepting new submissions at this time. See the
[IOCCC winning entries page](../years.html) for the entires that have won the IOCCC. [IOCCC winning entries page](years.html) for the entires that have won the IOCCC.
Watch both [the IOCCC status page](../status.html) and the Watch both [the IOCCC status page](status.html) and the
[@IOCCC mastodon feed](https://fosstodon.org/@ioccc) for information about future IOCCC openings. [@IOCCC mastodon feed](https://fosstodon.org/@ioccc) for information about future IOCCC openings.
<!-- END: the next line ends content from: inc/rules.closed.hdr --> <!-- END: the next line ends content from: inc/rules.closed.hdr -->