Code Monkey home page Code Monkey logo

Comments (4)

niieani avatar niieani commented on May 8, 2024

I've developed this on OS X so it does work :)
I presume you haven't installed bash 4 (you can do that with brew). OS X
natively uses a pretty old version of bash 3 (perhaps El Capitan will come
with an upgrade?). Some modules do work on bash 3 though, but running the
blank system as it is just won't work, you'd have to extract some of them
first.

Best,
Bazyli
On Wed 9 Sep 2015 at 10:52 Michael Hill [email protected] wrote:

I'm sure I could hack away at this but it seems that there's a hold up
here that's preventing this from running just out of the box (directly
cloned, run oo.sh) as a simple smoke test.

[themarmot@bq bash-oo-framework] :) ./oo.sh
/Users/themarmot/Projects/buyerquest/itops/nextgen/terraform-dev/bash-oo-framework/lib/oo-framework.sh: line 47: declare: -g: invalid option
declare: usage: declare [-afFirtx] [-p] [name[=value] ...]
/Users/themarmot/Projects/buyerquest/itops/nextgen/terraform-dev/bash-oo-framework/lib/oo-framework.sh: line 48: declare: -g: invalid option
declare: usage: declare [-afFirtx] [-p] [name[=value] ...]
/Users/themarmot/Projects/buyerquest/itops/nextgen/terraform-dev/bash-oo-framework/lib/oo- framework.sh: line 49: declare: -g: invalid option
declare: usage: declare [-afFirtx] [-p] [name[=value] ...]
/Users/themarmot/Projects/buyerquest/itops/nextgen/terraform-dev/bash-oo-framework/lib/oo-framework.sh: line 16: /system/*.sh: No such file or directory


Reply to this email directly or view it on GitHub
#3.

from bash-oo-framework.

mikeyhill avatar mikeyhill commented on May 8, 2024

O.k., thanks for the reply. I doubt I'd be able to convince quite a few people to use Bash 4 since we already have a significant amount of work done that is more-or-less version and OS agnostic. I'll run it by though, but if this isn't a possibility do you have any recommendations for similar frameworks that don't require a specific version of bash or OS?

Much thanks,
Michael

from bash-oo-framework.

niieani avatar niieani commented on May 8, 2024

Which features are you interested in the most? Try & catch and named
parameters will work in bash3, but exceptions won't if I remember right
from my testing.
On Wed 9 Sep 2015 at 13:07 Michael Hill [email protected] wrote:

O.k., thanks for the reply. I doubt I'd be able to convince quite a few
people to use Bash 4 since we already have a significant amount of work
done that is more-or-less version and OS agnostic. I'll run it by though,
but if this isn't a possibility do you have any recommendations for similar
frameworks that don't require a specific version of bash or OS?

Much thanks,
Michael


Reply to this email directly or view it on GitHub
#3 (comment)
.

Bazyli

from bash-oo-framework.

agh avatar agh commented on May 8, 2024
$ uname -a
Darwin scorch 16.0.0 Darwin Kernel Version 16.0.0: Fri Aug 12 19:00:53 PDT 2016; root:xnu-3789.1.28~1/RELEASE_X86_64 x86_64
$ /bin/bash --version
GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin16)
Copyright (C) 2007 Free Software Foundation, Inc.

Notably this is the last version which was GPLv2 which may be why Apple is sticking on it.

from bash-oo-framework.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.