Bash-like scripting in shells is prevalent in operating systems but I don’t understand why, when it doesn’t have the syntax to make programming easy like other languages. What features does bash have that make it so suitable for shells? Why even new operating systems like Redox OS choose a very similar syntax over a completely different programming language?

  • maegul (he/they)@lemmy.ml
    link
    fedilink
    arrow-up
    4
    ·
    1 year ago

    yea … for me, until proven otherwise, I’m thinking bash + *nix shell ecosystem is basically a COBOL that isn’t cool to make fun of (yet?).

    All of the bash apologia I see whenever it comes up is not really encouraging. I get it, it’s got some handy features, but overall it’s clearly suboptimal for many, and that we keep on using because we’ve been keeping on using it but convince ourselves it’s good/cool … is not healthy.