🕸Fergus Duniho wrote on Mon, Oct 23, 2017 12:01 PM UTC:
To find the pages that include Perl scripts, you can sign into SSH and use grep. Here is some sample output from entering the command grep extern.cgi */*.html >extern1.txt from /home/chessvariants/public_html. This checks through HTML files in first-level subdirectories for the string "extern.cgi". My plan is to check for a given Perl script in all the files of the site, make appropriate changes in each file, and then when all references to a Perl script have been removed to delete the Perl script itself. In some cases, I expect I will have to write a new PHP script to replace the Perl script before I can start changing the references to it in files. With extern.cgi, I have mainly been entering an HTML link to the Zillions of Games page.
To find the pages that include Perl scripts, you can sign into SSH and use grep. Here is some sample output from entering the command
grep extern.cgi */*.html >extern1.txt
from /home/chessvariants/public_html. This checks through HTML files in first-level subdirectories for the string "extern.cgi". My plan is to check for a given Perl script in all the files of the site, make appropriate changes in each file, and then when all references to a Perl script have been removed to delete the Perl script itself. In some cases, I expect I will have to write a new PHP script to replace the Perl script before I can start changing the references to it in files. With extern.cgi, I have mainly been entering an HTML link to the Zillions of Games page.