cm0002@lemmy.world to Programmer Humor@programming.dev · 4 days agoLike programming in bashlemmy.mlimagemessage-square186fedilinkarrow-up11.62Karrow-down116cross-posted to: programmerhumor@lemmy.ml
arrow-up11.6Karrow-down1imageLike programming in bashlemmy.mlcm0002@lemmy.world to Programmer Humor@programming.dev · 4 days agomessage-square186fedilinkcross-posted to: programmerhumor@lemmy.ml
minus-squareirelephant [he/him]🍭@lemm.eelinkfedilinkEnglisharrow-up7·3 days agoIt seems like it does stuff differently for the sake of it being different.
minus-square_stranger_@lemmy.worldlinkfedilinkarrow-up24·3 days 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]🍭@lemm.eelinkfedilinkEnglisharrow-up13·edit-23 days agoThat was the point where I closed the bash tutorial I was on, and decided to just use python and subprocess.run()
minus-squareVictor@lemmy.worldlinkfedilinkarrow-up8·3 days ago -eq Yeah, like infix, so between operands, but dashed like a flag so should come before arguments. Very odd.
minus-squareAppoxo@lemmy.dbzer0.comlinkfedilinkarrow-up5·3 days 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