yitz_ 1370582485 learn "When not performing substring expansion, using the forms documented below, bash tests for a parameter that is unset or null. Omitting the colon results in a test only for a parameter that is unset." --''man bash'' yitz_ 1370582497 forget yitz_ 1370582516 learn "When not performing substring expansion, using the forms documented below, bash tests for a parameter that is unset or null. Omitting the colon results in a test only for a parameter that is unset." --''man bash'' zendeavor 1370582870 forget zendeavor 1370583049 learn "When not performing substring expansion, parameter expansions including a colon cause bash to test for a parameter that is unset or null. It can be omitted to skip the test for a null parameter." zendeavor 1370583160 forget zendeavor 1370583163 learn When not performing substring expansion, parameter expansions including a colon cause bash to test for a parameter that is unset or null. It can be omitted to skip the test for a null parameter, resulting in a test for only an unset parameter. zendeavor 1370583199 forget zendeavor 1370583223 learn When not performing substring expansion, parameter expansions including a colon cause bash to test for a parameter that is unset or null. The colon can be omitted to skip the test for a null parameter, resulting in a test for only an unset parameter. geirha 1607682375 forget geirha 1607682379 learn When not performing substring expansion, using the forms documented below (e.g., :-), bash tests for a parameter that is unset or null. Omitting the colon results in a test only for a parameter that is unset. geirha 1607682952 forget geirha 1607682962 learn When using the default value parameter expansion (${var:-default}), the test checks if var is not set (unset -v var) or empty (var=''). If you omit the colon (${var-default}) it only checks if the var is not set. Same applies for :=, :?, and :+