195
submitted 5 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
[-] barubary@infosec.exchange 4 points 5 months ago

@Tangentism @Ephera Did you mean:

echo "${var:-empty}${var:+no it aint}"

?

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

Programmer Humor

37589 readers
1713 users here now

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

Rules:

founded 6 years ago
MODERATORS