Skip to content

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

User Scripts repo license commits per year code size repo size

Bourne shell compatible scripts in various modules, and a method for loading modules.

Usage

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.

Status

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

About

Bourne shell user support

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages