Bourne shell compatible scripts in various modules, and a method for loading modules.
Use the lib_load function to source <my_lib>.lib.sh found anywhere on SCRIPTPATH:
lib_load <my_lib>If function <my_lib>_load exists it is executed directly after sourcing.
Set and export SCRIPTPATH for a script environment with init.sh:
scriptpath=$PWD . ./tools/sh/init.sh
lib_load <my_lib>
or set from master/for dev:
test -e ./tools/sh/init.sh ||
curl -sSO https://github.com/user-tools/user-scripts/blob/master/tools/sh/init-gh.sh | sh -
scriptpath=$PWD . ./tools/sh/init.sh
A predefined set of modules is loaded.
Released lib_load and some other routines for testing in the field. All other commits on 0.0 dev line (branch r0.0).
Version: 0.0.1