title: CURL Progress Bar: How to pipe and extract numbers only using grep?
body: <p>This is what I have so far:</p>
  
  <pre><code>[my1@graf home]$ curl -# -o f1.flv 'http://osr.com/f1.flv' |  grep -o '*[0-9]*'
  ####################################################################### 100.0%
  </code></pre>
  
  <p>I wish to use grep and only extract the percentage from that progress bar that CURL outputs.</p>
  
  <p>I think my regex is not correct and I am also not sure if this grep will take effect of the the percentage being continuously updated?</p>
  
  <p>What I am trying to do is basically get CURL only to give me the percentage number as the output and nothing else.</p>
  
  <p>Thank you for any help.</p>