☆ Yσɠƚԋσʂ ☆@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 9 months agoLike programming in bashlemmy.mlimagemessage-square25linkfedilinkarrow-up1184cross-posted to: programmer_humor@programming.dev
arrow-up1184imageLike programming in bashlemmy.ml☆ Yσɠƚԋσʂ ☆@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 9 months agomessage-square25linkfedilinkcross-posted to: programmer_humor@programming.dev
minus-squareAnna@lemmy.mllinkfedilinkarrow-up3·9 months ago-z means zero length and mostly [[ ]] are used when you want to add multiple conditions. But there are also few test cases which are only in bash so they also need double brackets
-zmeans zero length and mostly[[ ]]are used when you want to add multiple conditions. But there are also few test cases which are only in bash so they also need double brackets