title: Splitting Filename delimited by period (.)
body: <p>I'm writting an sh file where I have var as: </p>
  
  <pre><code>c=aabbcc.DP.09-25-2012_14_17.dmp
  </code></pre>
  
  <p>i want to copy only initial part in another var like:</p>
  
  <pre><code>d = aabbcc
  </code></pre>
  
  <p>How should I trim my var?</p>