💾 Archived View for sdf.org › stug › scripts captured on 2023-07-22 at 16:44:12. Gemini links have been rewritten to link to archived content

View Raw

More Information

-=-=-=-=-=-=-

Gopher Related Scripts Which Might Be Of Use

--------------------------------------------

This are written by someone who has been learning scraps of script writing

from here and there. I am sure there are much better ways of doing things

but this is how I have ended up doing it. Hopefully it might help someone

avoid making files and setting conditions all the time.

Phlog Writing V2.1

------------------

This script is intended to make phlog writing easier. It does the following:

o Sets up a nanorc which limits the columns and a few other bits

o Creates a file named using auto grabbed date and manual user input

o Turns the auto grabbed date into human readable UK format date

o Updates the gophermap file with the new entry at the top of the gophermap

o Returns to previous nanorc config

o Allows for updates to be made to the current day entry

o Updates the Gemini Capsule index.gmi file as well

Requirements to run as is:

o Nano to be installed

o A folder in your home directory called 'gopher'

o A folder within the folder 'gopher' called 'phlog'

o A folder in your home directory called 'scripts'

o A .nanorc file called 'nanorc_gopher' in the 'scripts' folder

phlog_write_v2_1.ksh Phlog Script File

Article Writing V1.1

--------------------

This script is intended to make articles under different folders easier. It is similar to the phlog script but sorts files into the right gopher pages.

Features and requirements are the same as the phlog script.

To use this, you will want to change the folder selection. They are set up for me.

Article Script File