Minor changes

This commit is contained in:
2023-02-22 19:17:33 +00:00
parent 2e6f1d4d50
commit 043e93bc07

View File

@@ -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 sed -i '1d;2d;3d' /sdf/arpa/ns/s/scm/$month
# Write the posts text file to the .plan cluster text file # Write the posts text file to the .plan cluster text file
# Researching how best to do this yeilded a lot of interesing results. After # Change the head number as needed when the index.html file is changed
# some thinking, I decided this was the best way, as it's readable and will
# be easy to modify as needed
head -n 10 index > /sdf/arpa/ns/s/scm/header 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 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 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 cp /sdf/arpa/ns/s/scm/$month /ftp/pub/users/scm/posts/$year