Skip to content

Latest commit

 

History

History
47 lines (37 loc) · 1.62 KB

__index__.md

File metadata and controls

47 lines (37 loc) · 1.62 KB

shlib / core

shlib

The core of the shlib API implements only that which is deemed necessary to implement the shlib framework. In short, if it was necessary to implement the shlib executable, than it is supplied by the shlib core, otherwise it will be found in one of the other libraries.

All library interfaces are bound to a name-space alias. This means that shlib routines are prefixed with shlib.. E.g. shlib.error "${message}". Routines found in the math library will be similarly prefixed, such as math.sum 1 2 3 4 5.

You can get information about a library, and a list of the library's provided interfaces via the command shlib --help <library>. To see documentation for a specific interface use shlib --help <library>.<interface>.

shlib core routines

error, die, getarg, hascmd, hasfunc, import, main, optarg, pathcmd realpath

libraries

expect, math, string, system, experimental