title: Look for a specific Char in a line of code ignoring spaces in SED
body: <p>Im new to SED i have been looking around everywhere for the answer! I almost have it but cant figure it out.  </p>
  
  <pre><code>____= a tab or space  
  </code></pre>
  
  <p><strong>Example Text:</strong></p>
  
  <pre><code>This is sample text - hello.   
  ______-this is what I want the script to detect only  
  Not the - in this one   
  ______-Just this one 
  </code></pre>
  
  <p><strong>My sed Script</strong></p>
  
  <pre><code>/[^tab]\+-/ {  
  s/$/ \\\\/  
  }
  </code></pre>
  
  <p><strong>Output</strong></p>
  
  <pre><code>This is sample text - hello. //  
  ____-this is what I want the script to detect only //  
  Not the - in this one //  
  ____-Just this one //  
  </code></pre>
  
  <p><strong>Desired Output</strong></p>
  
  <pre><code>This is sample text - hello.  
  ____-this is what I want the script to detect only //  
  Not the - in this one  
  ____-Just this one //  
  </code></pre>
  
  <p>I want my script to see if the first char is a - (ignoring spaces/tabs) and if so then add a space and //</p>