title: How to set an environment variable for just one command in csh/tcsh
body: <p>In bash, I can set a temporary environment variable for just one command like this:</p>
  
  <pre><code>LD_LIBRARY_PATH=/foo/bar myprogram
  </code></pre>
  
  <p>Can I do something similar in csh / tcsh? I could do</p>
  
  <pre><code>setenv LD_LIBRARY_PATH /foo/bar; myprogram; unsetenv LD_LIBRARY_PATH
  </code></pre>
  
  <p>, but that will lose any previous value the variable had.</p>