deployment-script: log files to stderr as they are added

master
BodgeMaster 2024-01-31 20:38:40 +01:00
parent 0acb304654
commit 5c881b9710
1 changed files with 1 additions and 0 deletions

View File

@ -3,6 +3,7 @@ cp html_resources/index_template.html index.html
function genlinks {
for FILE in $(find . -maxdepth 1 -type f -name "??-*.html" | sort); do
echo "$FILE" >&2
echo -ne " <li><a href=\"$FILE\">\n"
echo -n " $(sed -e 's|^\./||;s/-.*//' <<< "$FILE") <span class="'"chapter">'
grep -oe "<title>.*</title>" $FILE | sed -e 's/<title> //;s| </title>|</span>|'