title: Problems using CURL within a shell script
body: <p>I'm having a problem using CURL with a shell script variable. I'm sure it's something simple I'm overlooking. I'm creating a URL that's appended with the MAC address of the Linux box. Once I have the URL built, I'm trying to pass that to curl to download a file from a remote location in to the /tmp directory of my local machine. CURL gets executed without any errors, but no data is transferred. I've tried single and double quotes around $url with no success. Any help would be greatly appreciated. </p>
  
  <p>Thanks,
  Shawn</p>
  
  <pre><code>#!/bin/ash
  config=$(ifconfig eth0 | grep -o -E '([[:xdigit:]]{1,2}:){5}[[:xdigit:]]{1,2}')
  tmp='http://abcd.com/sources.php?mac='
  url=$tmp$config
  curl --connect-timeout 10 --max-time 10 --retry 5 --retry-delay 0 --retry-max-time 60 -o /tmp/downloadfile $url
  </code></pre>