#!/bin/sh #] #] ********************* #] $ bash "$d_bin"'webLocal/webLocal run.sh' - #] special webSite functions, often [one-time, rare] changes # www.BillHowell.ca 10Sep2023 initial, from 'fileops run.sh' # view in text editor, using constant-width font (eg courier), tabWidth = 3 # Read-Eval-Print Loop (REPL) is typically running in a terminal in workspace 3 # backup this file: REPL$ sudo pinn_arcArch "$d_bin"'webLocal/webLocal run.sh' # backup workspace: REPL$ sudo pinnL_arcArch "$d_start"'webLocal wrkSpc REPL pLst.txt' # 48********************************************48 #24************************24 # List of "runable" functions (this file), generate with : # $ grep "^#]" "$d_bin"'webLocal/webLocal library.sh' | sed 's|^#] |#\t|' >"$d_bin"'webLocal/webLocal library.sh'' TblOfCont.txt'; grep --invert-match '_sub\|_dif\|# __' "$d_bin"'webLocal/webLocal library.sh'' TblOfCont.txt' >"$d_temp"'webLocal library.sh'' TblOfCont.txt'; cat "$d_bin"'webLocal/7_webLocal run top.txt' "$d_temp"'webLocal library.sh'' TblOfCont.txt' >"$d_bin"'webLocal/webLocal run.sh' # 24**********************24 # Setup source "$d_bin"'webLocal/webLocal library.sh' # find active run functions: # $ grep "^[ ]\+[A-Za-z0-9_]\+[ ]\+.*#" "$d_bin"'webLocal/webLocal run.sh' # note use of tab key in grep search expression # func defs come BEFORE 'titleLine capture for TableOfContents: # uncomment (delete '#]') of titleLine to run choice, BUT put back later! # to run : # edit [function, expression]s below, un-comment # check that only one is "active" # then run # 24**********************24