• nicman24
    link
    fedilink
    3911 months ago

    bash is veeery old and it implements all of posix.

    • Noodlez
      link
      fedilink
      2211 months ago

      Bash’s posix mode still has a lot of bashisms. The only way to test true posix compliance is to test with other shells like dash and ash. I have found this is the case a lot of time. People will say it’s POSIX compliant shell, but it’ll obviously only be tested in bash Like at that point just make it a bash script, since pretty much every system under the sun has it.

    • narsheeOP
      link
      fedilink
      411 months ago

      I was thinking about bash scripts that use bash specific builtins. Some of those require >= x version.

        • narsheeOP
          link
          fedilink
          611 months ago

          Yeah. The only language I didn’t have the right version for in the past was python. I just wanted to make a joke about standards vs implementations.