fix how bin/gen-years.sh writes the jump table

The `bin/gen-years.sh` tool now does a more portable
way to format the "Jump to:" table.

Changed `bin/gen-years.sh` VERSION from "1.0.1 2024-02-23"
to "1.0.2 2024-03-13".
This commit is contained in:
Landon Curt Noll committed 2024-03-18 01:48:05 -07:00
1 parent b0b212acb1
commit b9e2cab574
1 file changed
+2 -2
+2 -2
View File
@@ -81,7 +81,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.0.1 2024-02-23" export VERSION="1.0.2 2024-03-13"
NAME=$(basename "$0") NAME=$(basename "$0")
export NAME export NAME
export V_FLAG=0 export V_FLAG=0
@@ -582,7 +582,7 @@ EOF
# #
"$TAC_TOOL" "$TOP_FILE" | "$TAC_TOOL" "$TOP_FILE" |
sed -e 's/^.*$/[&](#&)/' | sed -e 's/^.*$/[&](#&)/' |
"$FMT_TOOL" -w 111 | "$FMT_TOOL" -w 120 |
sed -e 's/ / | /g' -e 's/$/<br><br>/' -e '$s/<br><br>//' sed -e 's/ / | /g' -e 's/$/<br><br>/' -e '$s/<br><br>//'
echo echo