#!/bin/sh #] #] ********************* #] $ bash "$d_bin"'0_form basher.sh' # www.BillHowell.ca initial # 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"'0_form basher.sh' # backup workspace example: REPL$ sudo pinnL_arcArch "$d_bin"'start/base_WkSpc.sh REPL pLst.txt' # note that 'base_WkSpc.sh REPL pLst.txt' can be used far beyond just backups!! #24************************24 #24************************24 # List of operators, generated with : # $ grep "^#]" "$d_bin"'0_form basher.sh' | sed "s/^#\]/ /" >"$d_bin"'0_form basher.sh'' TblOfCont.txt' # # find active run functions: # $ grep "^[ ]\+[A-Za-z0-9_]\+[ ]\+.*#" "$d_bin"'0_form basher.sh' # OR $ grep "^[ ]\+[A-Za-z0-9_]\+[ ]\+" "$d_bin"'0_form basher.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! # +--+ # build summary of key points : #kp# #kp# ********************* #kp# "$d_bin"'0_form basher.sh' #kp# # $ grep "^#kp#" "$d_bin"'0_form basher.sh' | sed 's|^#kp#| |' >"$d_bin"'0_form basher.sh'' TblOfKeyPoints.txt' #08********08 # Setup source "$d_bin"'standard header.sh' #08********08 # code #] dum_test #() just to see if function is added to REPL dum_test() { echo 'This is a dumb test' } #08********08 # Procedures - To run : #08********08 # run - select one of options # $ bash "$d_bin"'0_form basher.sh' # enddoc