title: What is the most concise way to source a file (only if it exists) in Bash?
body: <p>In Bash scripting, is there a single statement alternative for this?</p>
  
  <pre><code>if [ -f /path/to/some/file ]; then
      source /path/to/some/file
  fi
  </code></pre>
  
  <p>The most important thing is that the filename is there only once, without making it a variable (which adds even more lines).</p>
  
  <p>For example, in PHP you could do it like this</p>
  
  <pre><code>@include("/path/to/some/file"); // @ makes it ignore errors
  </code></pre>