☆ Yσɠƚԋσʂ ☆@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 2 months agoLike programming in bashlemmy.mlimagemessage-square26fedilinkarrow-up1196arrow-down11
arrow-up1195arrow-down1imageLike programming in bashlemmy.ml☆ Yσɠƚԋσʂ ☆@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 2 months agomessage-square26fedilink
minus-squareAnna@lemmy.mllinkfedilinkarrow-up3·2 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
-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