title: bash while string is not empty
body: <p>I'm trying to set up a script that parses a string.</p>
  
  <p>My loop is currently</p>
  
  <pre><code>while [ -n "$RAW" ]; do
      // do some processing here
      RAW=$(echo $RAW| sed -r 's/^.{15}//')
  done
  </code></pre>
  
  <p>However, the script never seems to end</p>