complete bin/cvt-submission.sh
Successfully tested `bin/cvt-submission.sh` on a new entry in a new year that was generated from a submission entry.number directory via `sbin/post-collect.sh` from the submit tools. Changed `bin/cvt-submission.sh` prompts to use "[Y,n]" and to default to yes. The `bin/cvt-submission.sh` processes and appends YYYY/dir to `.allyear`. Improved 215 error message and exit code from `bin/subst.entry-navbar.awk`. Changed `bin/cvt-submission.sh` VERSION from "2.0.3 2025-05-18" to "2.0.4 2025-05-18". Changed `bin/output-index-author.sh` VERSION from "2.0.0 2025-03-13" to "2.0.1 2025-05-18". Changed `bin/output-index-inventory.sh` VERSION from "2.0.0 2025-03-13" to "2.0.1 2025-05-18". Changed `bin/output-index-inventory.sh` VERSION from "2.0.1 2025-05-17" to "2.0.2 2025-05-18". Changed `bin/subst.entry-index.sh` VERSION from "2.0.1 2025-05-17" to "2.0.2 2025-05-18". Changed `bin/subst.entry-navbar.awk` VERSION from "1.3.1 2025-05-17" to "1.3.2 2025-05-18". Update sitemap. Tested the above via `make update` on macOS.
This commit is contained in:
1 parent
0aa790fd88
commit
f1f0993cf9
6 files changed
+169
-66
No files matched your search
@@ -13,6 +13,10 @@
|
||||
#
|
||||
# awk -v entry_path=YYYY/dir -f bin/subst.entry-navbar.awk YYYY/.year
|
||||
#
|
||||
# usage:
|
||||
#
|
||||
# awk -v entry_path=YYYY/dir -f bin/subst.entry-navbar.awk .allyear
|
||||
#
|
||||
# where:
|
||||
#
|
||||
# YYYY IOCCC year or mock
|
||||
@@ -22,7 +26,7 @@ BEGIN {
|
||||
|
||||
# setup
|
||||
#
|
||||
VERSION="1.3.1 2025-05-17"
|
||||
VERSION="1.3.2 2025-05-18"
|
||||
NAME = "subst.entry-navbar.awk"
|
||||
process_next_line = 0; # 1 ==> we found our entry_path, now process the next line
|
||||
found_entry_path = 0; # 1 ==> we found our entry_path
|
||||
@@ -179,10 +183,10 @@ END {
|
||||
if (!found_entry_path) {
|
||||
# ERROR: entry_path was not found
|
||||
print "-e";
|
||||
print "'" NAME ": did not find:", entry_path "'";
|
||||
print "'" NAME ": did not find in:", ARGV[1], "entry_path:", entry_path "'";
|
||||
print "-E";
|
||||
print "215";
|
||||
exit
|
||||
exit 215;
|
||||
|
||||
} else if (process_next_line) {
|
||||
# no next line entry_path is the last line
|
||||
|
||||
Reference in new issue
Block a user