title: how to print with the output of a curl command
body: <p>I am trying to execute a script which does a <code>curl</code> from a url then <code>grep</code> for output then print it. </p>
  
  <p>i tried double quotes and <code>/</code> after the special arguments.</p>
  
  <pre><code>#!/bin/sh
  for URL in `cat curlurl.txt`
  do
  echo $URL;
  curl  -V  $1 "$URL" | grep HTTP/1.1 | awk '{print $2}';
  done
  </code></pre>
  
  <p>it just give me <code>curl</code> output not the expected.</p>