Changes to Sed
This commit is contained in:
parent
44310cc398
commit
d74dca4fe3
@ -17,9 +17,9 @@ wget -O /sdf/arpa/ns/s/scm/$month.html https://scm.sdf.org/posts/$year/$month.ht
|
||||
|
||||
# Remove the post related lines from the index HTML file
|
||||
|
||||
sed -i 's:<h3>Posts<\/h3>::' /sdf/arpa/ns/s/scm/index.html
|
||||
sed -i 's/<h3>Posts<\/h3>//' /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
|
||||
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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user