Giter Site home page Giter Site logo

Comments (4)

0xacx avatar 0xacx commented on May 26, 2024 1

What would the advantages be in practice?
I mean, what modern system does not support bash but supports sh?
The only case I could think of is running this script in alpine linux images, where bash is not included, but even there it can be easily installed.
In short, I don't see the reason to restrict to sh functionality for benefits that are not clear to me.
@jaromil Lmk what you think!

from chatgpt-shell-cli.

0xacx avatar 0xacx commented on May 26, 2024 1

@jaromil I agree with that but don't you miss some bash functionality that sh doesn't have? A short list of the most important points is here I like and use some of these features in this script.

from chatgpt-shell-cli.

Zeioth avatar Zeioth commented on May 26, 2024

@jaromil What is failing on your end? Could you give more detail? It works fine on my end on all zsh, bash, and sh.

from chatgpt-shell-cli.

jaromil avatar jaromil commented on May 26, 2024

Nothing failing! I have been scripting a lot in zsh and bash, nowadays I wish it would have been all in sh: portable and easier to analyse with stuff like shellcheck. Also BSD systems have native support without installing anything else.

from chatgpt-shell-cli.

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.