195
submitted 11 months ago by yogthos@lemmy.ml to c/programmerhumor@lemmy.ml
you are viewing a single comment's thread
view the rest of the comments
[-] AnnaFrankfurter@lemmy.ml 3 points 11 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

this post was submitted on 05 Mar 2025
195 points (99.5% liked)

Programmer Humor

40488 readers
10 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 6 years ago
MODERATORS