Projects / oobash

oobash

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

Tags
Licenses
Operating Systems
Implementation
Translations

RSS Recent releases

  •  08 Mar 2013 22:25

    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:39

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

      •  24 Dec 2012 03:01

        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.

        •  31 Oct 2012 19:54

          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 23:25

            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.

            RSS Recent comments

            03 Jan 2011 21:30 Avatar andreasfrank Thumbs up

            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.

            bye
            Andreas

            03 Jan 2011 21:16 Avatar andreasfrank Thumbs up

            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
            a.length

            Hope this helps.
            Bye
            Andreas

            03 Jan 2011 18:36 chadwickboggs Thumbs up

            $ ./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 Thumbs up

            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 Avatar dlekic Thumbs up

            :)

            Screenshot

            Project Spotlight

            PrestaShop Advance Blog

            A blogging module for PrestaShop.

            Screenshot

            Project Spotlight

            webon

            A Web content management system.