Albin Jose@suppo.fideleted by creator to Programmer Humor@lemmy.ml · 3 years agoDepression Is No Moresuppo.fiimagemessage-square95linkfedilinkarrow-up11.81Karrow-down140
arrow-up11.77Karrow-down1imageDepression Is No Moresuppo.fiAlbin Jose@suppo.fideleted by creator to Programmer Humor@lemmy.ml · 3 years agomessage-square95linkfedilink
minus-squareHazzia@discuss.tchncs.dedeleted by creatorlinkfedilinkarrow-up9·edit-22 years agodeleted by creator
minus-squarehisbaan@lemm.eelinkfedilinkarrow-up11·3 years agoI believe the reason is that bash is backwards compatible with sh and sh only has [ ], not [[ ]]
minus-squarefloat@feddit.decakelinkfedilinkarrow-up6·3 years ago[ is a binary (sometimes a symlink) in /usr/bin. It’s /usr/bin/[ 🤓
minus-squareNumber358@lemmy.worldBannedlinkfedilinkarrow-up6arrow-down1·edit-23 years agoRemoved by mod
minus-squaretwelvefloatinghands@lemmy.worldlinkfedilinkarrow-up8·3 years agoFish might be good for interactivity, but in terms of scripting, just go straight to python. It’s not worth it.
minus-squareCysio@lemmygrad.mllinkfedilinkarrow-up3·3 years agoFish is starting to get more POSIX compliant as of late, the error redirect is no longer ^ /dev/null but 2>/dev/null
minus-squareAffine Connection@lemmy.worldlinkfedilinkEnglisharrow-up2·3 years ago[[ is not a POSIX shell feature.
deleted by creator
I believe the reason is that bash is backwards compatible with sh and sh only has [ ], not [[ ]]
[is a binary (sometimes a symlink) in/usr/bin. It’s/usr/bin/[🤓Removed by mod
Fish might be good for interactivity, but in terms of scripting, just go straight to python. It’s not worth it.
Fish is starting to get more POSIX compliant as of late, the error redirect is no longer
^ /dev/nullbut2>/dev/null[[ is not a POSIX shell feature.