☆ Yσɠƚԋσʂ ☆@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 2 months agoLike programming in bashlemmy.mlexternal-linkmessage-square10fedilinkarrow-up154arrow-down10
arrow-up154arrow-down1external-linkLike programming in bashlemmy.ml☆ Yσɠƚԋσʂ ☆@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 2 months agomessage-square10fedilink
minus-squareAnna@lemmy.mllinkfedilinkarrow-up2·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