Giter VIP home page Giter VIP logo

Comments (2)

bcoles avatar bcoles commented on August 20, 2024

Bash 4.0+ is required.

The comment you're referring to:

To avoid these kind of errors I've added bash version checking on script's startup. 4.0 is needed for associative arrays, =~ operator was added in 3.* so we should be good now.

is in reference to two problems discussed in that issue, both of which were encountered when using older versions of Bash.

The first issue related to associative arrays, which require Bash 4+.

The second issue related to use of =~ matches which required Bash ~3+.

we should be good now implies that a version check for 4+ was considered sufficient to close the issue. There was no point trying to support =~, as that doesn't solve the requirement for associative arrays, which requires Bash version 4+.

If, in the future, older versions of Bash were to be supported, it would require a substantial rewrite to remove the use of assoc arrays.

from linux-exploit-suggester.

noraj avatar noraj commented on August 20, 2024

@bcoles It's clear now, thank you!

from linux-exploit-suggester.

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.