☆ Yσɠƚԋσʂ ☆@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 2 days agoLike programming in bashlemmy.mlimagemessage-square19fedilinkarrow-up1175arrow-down11cross-posted to: programmer_humor@programming.dev
arrow-up1174arrow-down1imageLike programming in bashlemmy.ml☆ Yσɠƚԋσʂ ☆@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 2 days agomessage-square19fedilinkcross-posted to: programmer_humor@programming.dev
minus-squareAnna@lemmy.mllinkfedilinkarrow-up3·19 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