Comment on Writing Robust Bash Shell ScriptsparentComments−veyron14yOr look at the manpage ${parameter:-word} Use Default Values. If parameter is unset or null, the expan- sion of word is substituted. Otherwise, the value of parameter is substituted.−agumonkey14yAgreed, I was just sayin for the sake of the article, he brings up the subject of unitialized variables, without mentioning this other way.
Comments
Or look at the manpage
Agreed, I was just sayin for the sake of the article, he brings up the subject of unitialized variables, without mentioning this other way.