title: Setting an environment variable in csh
body: <p>I have the following line at the first line in my script file:</p>
  
  <pre><code>#!/bin/sh
  </code></pre>
  
  <p>So I'm using csh.(?)</p>
  
  <p>I wanto assign the output of the following to an environment variable:</p>
  
  <pre><code>echo $MYUSR | awk '{print substr($0,4)}'
  </code></pre>
  
  <p>I try:</p>
  
  <pre><code>set $MYVAR = echo $MYUSR | awk '{print substr($0,4)}'
  </code></pre>
  
  <p>But it doesn't work,
  How can I do it? I want to do it in a sh file.</p>