Fixed finger bug

This commit is contained in:
Scott C. MacCallum 2023-02-20 03:15:55 +00:00
parent 101fe06ee7
commit 167a7adcc2

View File

@ -42,9 +42,22 @@ sed -i '1d;2d;3d' /sdf/arpa/ns/s/scm/$month
# Write the index text file to the .plan text file
cat /sdf/arpa/ns/s/scm/index > .plan
#cat /sdf/arpa/ns/s/scm/index > /sdf/arpa/ns/s/scm/.plan
# 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 I
# think will be easy to modify as needed
head -n 5 index > /sdf/arpa/ns/s/scm/header
cat /sdf/arpa/ns/s/scm/$month > body
cat /sdf/arpa/ns/s/scm/header > .plan
cat /sdf/arpa/ns/s/scm/body >> .plan
cat /sdf/arpa/ns/s/scm/footer >> .plan
# Write the index text file to the root Gopher location