title: Illegal variable name tcsh shell linux
body: <p>I get a "Illegal variable name" error for the following piece of line in one of my shell scripts - </p>
  
  <pre><code>"$WORKING_DIR"/sendEmail.py "$TEST_STRING, Tests passed" "$(cat "$WORKING_DIR"/logs/"$THE_PACKAGE"/testResults.out)" &gt;&amp; "$WORKING_DIR"/logs/mailOut.txt
  </code></pre>
  
  <p>I believe the error is coming from the following line:</p>
  
  <pre><code>"$(cat "$WORKING_DIR"/logs/"$THE_PACKAGE"/testResults.out)"
  </code></pre>
  
  <p>I have looked extensively on the internet, but have not yet been able to resolve the issue. </p>