资 源 简 介
1.
START HELP basename $0
basename $0 is an utlity script having the following purpose
to provide an easy starting template for writing bash and sh scripts
with the following functionalities:
- printing help with cmd switch -h ( verify with doTestHelp in test-sh )
- prints the set in the script variables set during run-time
- separation of host specific vars into separate configuration file :
<>/<>.<>.conf
$IniFile
thus easier enabling portability between hosts
logging on terminal and into <>/<>.log file :
$LogFile
for loop examples with head removal and inline find and replace
cmd args p