title: Grep Curl command's console output to a file
body: <p>Need an help in doing grep of 3 variables from the curl commands console output.</p>
  
  <p>By executing the below curl command i get some output which prints in the console itself. I need to grep some variables(say staus, name, url) and redirect it to a file.</p>
  
  <p>curl -v -X POST -D tmp.txt -H "Content-Type:text/plain" --data "$SECRET" -H "Accept:application/xml" -H "Connection:close" <a href="http://google.com/api/search" rel="nofollow">http://google.com/api/search</a></p>