Projects / oobash


oobash is an oo-style framework for bash 4 written in bash. It provides tools for rapid script development and huge libraries.

Operating Systems

Recent releases

  •  08 Mar 2013 17:24

    Release Notes: This release adds stepper and xtrace options in the script skeleton (Script.generator). It renames __fileLength to __size. It removes dependencies (wc, pwd, tr, and sort). Now the output of Class.generator is alphabetically sorted. code/help/man is alphabetically sorted. Fixes and small improvements.

    •  21 Jan 2013 19:22

      Release Notes: This release adds Math.signum, Math.rint, and Math.round, and adds fixes and small improvements.

      •  23 Dec 2012 00:28

        Release Notes: This release adds to String String.fromCharCode, adds to Private __getAttributeFromObjectByName, __charCode, __getObjectPointer, __isObjectnameValid, and __rstripDoubleZeros, adds to File setuid, setgid, setStickyBit, hasUidBit, and hasGidBit, renames __posixFilePermissionsConverter to __posixFilePermissionToOctal, __terminalSupportscolors to __terminalSupportsColors, __stackOrHelp to __handleErrorMessage, __visible to __visibilityCheck, __checkForKeywords to __keywordCheck, and __destructor to __destruct, removes the __stack function, supports Cyrillic characters, and adds fixes and small improvements.

        •  29 Oct 2012 21:27

          Release Notes: This release adds to File (lastChanged, lastAccessed, setLastAccessed, touch, isOlderThan, isNewerThan) and adds private functions (__isatty, __terminalSupportscolors, __slashCheck, __getLoggingTimestamp, __getFreeFD, __setPS4), makes all generators try to use the optional variables __AUTHOR__, __COMPANY__, and __EMAIL__, and adds fixes and small improvements.

          •  30 Sep 2012 18:51

            Release Notes: Added to String: charCodeAt, containsOnly, containsNone, and indexOfDifference. Added to File: deleteRecursively. Added private functions: __stack, __isXTRACEFDAvailable, and __getFileBase. A new script skeleton with the Script.generator function. Fixes and some other small changes.

            Recent comments

            03 Jan 2011 21:30 andreasfrank

            Hello again chadwickboggs,
            ./oobash: line 187: declare: -A: invalid option
            looks to me, like a too old bash.
            If you do a
            echo $BASH_VERSINFO
            the result has to be: "4".
            If it is 3 or less - i am sorry - then you can't use the code.


            03 Jan 2011 21:16 andreasfrank

            Hello chadwickboggs,
            thanks for the feedback. Please do not execute the file, but source it ( try: source oobash-0.34.source )
            Then try:
            String a teststring

            Hope this helps.

            03 Jan 2011 18:36 chadwickboggs

            $ ./oobash
            Sorry, you need a bash version 4...
            ./oobash: line 183: return: can only `return' from a function or sourced script
            ./oobash: line 187: declare: -A: invalid option
            declare: usage: declare [-afFirtx] [-p] [name[=value] ...]
            ./oobash: line 4351: syntax error near unexpected token `&'
            ./oobash: line 4351: ` ";;&'

            03 Jan 2011 18:34 chadwickboggs

            Currently oobash does not work on OS-X (Snow Leopard 64-bit) for me. If this is true for others, can it be fixed to? Thank you.

            23 Dec 2010 14:11 dlekic



            Project Spotlight


            A Fluent OpenStack client API for Java.


            Project Spotlight

            TurnKey TWiki Appliance

            A TWiki appliance that is easy to use and lightweight.