☆ Yσɠƚԋσʂ ☆@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 4 days agoLike programming in bashlemmy.mlimagemessage-square20fedilinkarrow-up1179arrow-down11cross-posted to: programmer_humor@programming.devwwwopera@lemm.ee
arrow-up1178arrow-down1imageLike programming in bashlemmy.ml☆ Yσɠƚԋσʂ ☆@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 4 days agomessage-square20fedilinkcross-posted to: programmer_humor@programming.devwwwopera@lemm.ee
minus-squareAnna@lemmy.mllinkfedilinkarrow-up3·3 days 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
-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