PROCESS:
1) copy webpages to current directory for a book
2) copy base table of content for use with a book
3) list the chapters in the book and append to the table of content listing for the book
4) edit the insert-toc-into-chapters.sh.txt script (1st one below) to show the book name and the file with toc
5) edit the copy of the table of contents by inserting the file names into the HTML
6) execute insert-toc-into-chapters.sh.txt
7) check the web page
8) move the original to the old directory and look for next series
----------------
PUT all the commands to build the files on one line:
---------------------
cp ../../*1_John* . ; cp toc-BASE toc-1john ; ls *1_John* >> toc-1john ; vi insert-toc-into-chapters.sh.txt ; vi toc-1john
---------------------
insert-toc-into-chapters.sh.txt:
---------------------
#!/bin/bash
# jm 18sep2018 - updated to include rm bak, scp and mv
##########################################
# sed -i.bak '/\
\
1 John - select next chapter: | |||||||||
---|---|---|---|---|---|---|---|---|---|
01 | 02 | 03 | 04 | 05 | |||||
|