I'm really fond of "null coalescing", where you can set a variable to the first "non-null" value in a list of things. Many languages support this, for example:
String myStr = string1 ?? string2 ?? "default";
var myStr = string1 || string2 || "default";
...etc. I'm just curious if this can be done in Bash to set a variable?