title: How do you parse a filename in bash?
body: <p>I have a filename in a format like:</p>
  
  <blockquote>
    <p><code>system-source-yyyymmdd.dat</code></p>
  </blockquote>
  
  <p>I'd like to be able to parse out the different bits of the filename using the "-" as a delimiter.</p>