Fixed Sed code

This commit is contained in:
Scott C. MacCallum 2023-02-17 01:23:03 +00:00
parent 38fa3a2b66
commit 44310cc398

View File

@ -19,7 +19,7 @@ wget -O /sdf/arpa/ns/s/scm/$month.html https://scm.sdf.org/posts/$year/$month.ht
sed -i 's:<h3>Posts<\/h3>::' /sdf/arpa/ns/s/scm/index.html
sed -i 's:<h4><a href="https\:\/\/scm.sdf.org\/posts\/$year\/$month.html">$year<\/a><\/h4>::' /sdf/arpa/ns/s/scm/index.html
sed -i 's:<h4><a href="https\:\/\/scm.sdf.org\/posts\/2023\/02.html">2023<\/a><\/h4>::' /sdf/arpa/ns/s/scm/index.html
# Convert the index HTML file to an index text file