title: remove newline from shell script command
body: <p>I have the following shell script 'geturl.sh':</p>
  
  <pre><code>wget -O /dev/null http://google.com/$1
  wget -O /dev/null http://google.com/$1
  </code></pre>
  
  <p>When I run it with './geturl.sh news', it tries to wget <a href="http://google.com/news%0D" rel="nofollow">http://google.com/news%0D</a> on the first line, and <a href="http://google.com/news" rel="nofollow">http://google.com/news</a> on the second.</p>
  
  <p>Why does it count the newline character and how do I fix it?</p>
  
  <p>Thanks</p>