From d74dca4fe3f90b122ff3343df546057b9eb832fc Mon Sep 17 00:00:00 2001 From: "Scott C. MacCallum" Date: Fri, 17 Feb 2023 01:47:37 +0000 Subject: [PATCH] Changes to Sed --- cluster-web-to-other.ksh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cluster-web-to-other.ksh b/cluster-web-to-other.ksh index ccc803e..7a745d5 100755 --- a/cluster-web-to-other.ksh +++ b/cluster-web-to-other.ksh @@ -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:

Posts<\/h3>::' /sdf/arpa/ns/s/scm/index.html +sed -i 's/

Posts<\/h3>//' /sdf/arpa/ns/s/scm/index.html -sed -i 's:

2023<\/a><\/h4>::' /sdf/arpa/ns/s/scm/index.html +sed -i 's/

2023<\/a><\/h4>//' /sdf/arpa/ns/s/scm/index.html # Convert the index HTML file to an index text file