title: AWK invoking sh instead of csh
body: <p>I'm sure there is a much easier way to do this, so I'm all ears.</p>
  
  <pre><code>sort -nrk 7 my_list.tsv | tail -n 1 | awk '{print("setenv INPUT_DIR `pwd`/"$1)}'
  </code></pre>
  
  <p>The first item in my .tsv are filenames (sorted) that I'm trying to set as an environmental variable in csh. I want to add the pull the path too. I though this would work but...</p>
  
  <pre><code>sh: setenv: command not found
  </code></pre>
  
  <p>Even though I'm in csh. Can I get the awk system function to use csh/tcsh?</p>
  
  <p>J</p>