To get details of how to handle parameter/variable expansion in bash,
using hard-to-google code like ${a:-default} and ${a:?"required"}…
See the bash manual about Shell Parameter Expansion
Thanks
I found the docs via this stackoverflow response
It appears that your browser is an old version (or maybe is set to compatability mode?).
This site is unlikely to display properly in a browser with legacy behaviour.
Old browsers are a security risk for the user and can be a source of disproportionate effort for those producing internet content.
So please upgrade and then we'll be able to welcome you here with open arms.
Thanks for your understanding, looking forward to catching up with you again soon.
A collection of missives on various topics
To get details of how to handle parameter/variable expansion in bash,
using hard-to-google code like ${a:-default} and ${a:?"required"}…
See the bash manual about Shell Parameter Expansion
I found the docs via this stackoverflow response