195
submitted 3 months ago by [email protected] to c/[email protected]
you are viewing a single comment's thread
view the rest of the comments
[-] [email protected] 4 points 3 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

36554 readers
502 users here now

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

Rules:

founded 5 years ago
MODERATORS