title: Easy way to set default values for variables in bash
body: <p>I have a bunch of environment variables passed from client code, if they are not set, I need to set default values to them.</p>
  
  <p>Except testing them one by one with a lot of <code>if ...; then ... fi</code>, is there a clean way to do this?</p>