you are viewing a single comment's thread
view the rest of the comments
[–] 4 points 2 years ago

@Tangentism @Ephera Did you mean:

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

?

  • source
  • parent