bashlib provides basic functions, when you used bash shell as script engine.
bashlib runs on bash ver3 pre-installed in Ubuntu, MacOS X, and so on.
It is not necessary to check previous stuation and not to check error after. Then code becomes simple.
It reduces short option and special sign. Then code can be readable and searchable.
It stops, if error was raised and it shows the function name and file name. (fail safe)
It raises error, if it tried to remove the file out of specified writable folder. (fool proof)
You can test the error and resume from errors by structured exception.
You can fix faster by step runnning.
Online Document ... http://www.sage-p.com/scriptlib/bashlib.html (sorry Japanese only)