title: Reading an entire file into a variable in a C-Shell (csh) Script
body: <p>I need to read an entire text file into a shell variable.  There is already another thread on this, but it only gives examples for sh and bash: </p>
  
  <p><a href="https://stackoverflow.com/questions/7427262/how-to-read-a-file-into-a-variable-in-shell">How to read a file into a variable in shell?</a></p>
  
  <p>How do I do this in csh?</p>
  
  <p>Sorry for starting a new thread, but I'm new to this site and couldn't comment. How are you supposed to build up your reputation if you can't comment to begin with?</p>