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?

  • palordrolap@kbin.social
    link
    fedilink
    arrow-up
    2
    ·
    1 year ago

    As a shell, tcsh was OK if only because it included GNU Readline (or something like it) and, despite being a couple of years younger, kind of beat bash to the punch for that user-friendliness on account of being a largely unchanged drop-in replacement for its predecessor.

    Unfortunately, that also means it’s as problematic as its predecessor too: Csh programming considered harmful.

    Not to be used for anything serious.