☆ Yσɠƚԋσʂ ☆@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 2 days agoLike programming in bashlemmy.mlimagemessage-square19fedilinkarrow-up1168arrow-down11cross-posted to: [email protected]
arrow-up1167arrow-down1imageLike programming in bashlemmy.ml☆ Yσɠƚԋσʂ ☆@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 2 days agomessage-square19fedilinkcross-posted to: [email protected]
minus-squareAnna@lemmy.mllinkfedilinkarrow-up3·12 hours 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