@cm0002 to Programmer [email protected] • 1 day agoLike programming in bashlemmy.mlimagemessage-square179arrow-up11.54Karrow-down116cross-posted to: [email protected]
arrow-up11.52Karrow-down1imageLike programming in bashlemmy.ml@cm0002 to Programmer [email protected] • 1 day agomessage-square179cross-posted to: [email protected]
minus-squareirelephant [he/him]🍭linkfedilinkEnglish7•23 hours agoIt seems like it does stuff differently for the sake of it being different.
minus-square@_stranger_link24•21 hours agoIt’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 ]]
minus-squareirelephant [he/him]🍭linkfedilinkEnglish13•edit-220 hours agoThat was the point where I closed the bash tutorial I was on, and decided to just use python and subprocess.run()
minus-squareVictorlink8•21 hours ago -eq Yeah, like infix, so between operands, but dashed like a flag so should come before arguments. Very odd.
minus-square@[email protected]linkfedilink5•20 hours agoYou better not look at powershell in that case :p
It seems like it does stuff differently for the sake of it being different.
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 ]]
That was the point where I closed the bash tutorial I was on, and decided to just use python and
subprocess.run()
Yeah, like infix, so between operands, but dashed like a flag so should come before arguments. Very odd.
You better not look at powershell in that case :p