• @_stranger_
      link
      2421 hours ago

      It’s more like bash did it one way and everyone who came after decided that was terrible and should be done a different way (for good reason).

      Looking right at you -eq and your weird ass syntax

      if [[ $x -eq $y ]]

      • irelephant [he/him]🍭
        link
        fedilink
        English
        13
        edit-2
        20 hours ago

        That was the point where I closed the bash tutorial I was on, and decided to just use python and subprocess.run()

      • Victor
        link
        821 hours ago

        -eq

        Yeah, like infix, so between operands, but dashed like a flag so should come before arguments. Very odd.