From 043e93bc07ab186bdf3b13e5f0e624a0f5951c6e Mon Sep 17 00:00:00 2001 From: "Scott C. MacCallum" Date: Wed, 22 Feb 2023 19:17:33 +0000 Subject: [PATCH] Minor changes --- cluster-web-to-other.ksh | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/cluster-web-to-other.ksh b/cluster-web-to-other.ksh index c178ec0..4b2282f 100755 --- a/cluster-web-to-other.ksh +++ b/cluster-web-to-other.ksh @@ -41,9 +41,7 @@ sed -i '1d;2d;3d' /sdf/arpa/ns/s/scm/index sed -i '1d;2d;3d' /sdf/arpa/ns/s/scm/$month # Write the posts text file to the .plan cluster text file -# Researching how best to do this yeilded a lot of interesing results. After -# some thinking, I decided this was the best way, as it's readable and will -# be easy to modify as needed +# Change the head number as needed when the index.html file is changed head -n 10 index > /sdf/arpa/ns/s/scm/header @@ -55,11 +53,11 @@ cat /sdf/arpa/ns/s/scm/body >> /sdf/arpa/ns/s/scm/.plan cat /sdf/arpa/ns/s/scm/footer >> /sdf/arpa/ns/s/scm/.plan -# Write the index text file to the root Gopher location +# Write the index text file to the root directory of Gopher cp /sdf/arpa/ns/s/scm/index /ftp/pub/users/scm -# Write the posts text file to the posts Gopher location +# Write the posts text file to the posts directory of Gopher cp /sdf/arpa/ns/s/scm/$month /ftp/pub/users/scm/posts/$year