How to put a shell variable into a curl command in a shell script?
<p>I am trying to execute curl commands from my shell script on OSx el Capitan.
How can i pass a variable to the curl script. I tried this:
 <code>var ="some variable"</code>
 <code>curl -O '$var'</code>
But its not working. Thanks in advance</p>