title: Why am I getting a "No Match" error in csh script with standard input and output?
body: <p>I'm trying to get a feel for Unix so that I can write a short program in UNIX csh that takes stdin and returns stdout. So I wrote the following code:</p>
  
  <pre><code>echo "TEST"
      echo -n "Input: "
      set TEST = "$&lt;"
      echo $TEST
  </code></pre>
  
  <p>However I keep getting an error that I can't quite figure out when I type in certain characters. For example,</p>
  
  <p>Run 1: No question mark. As you can see, it runs exactly as I want it to.</p>
  
  <pre><code>edoras ~/As4[199]% ./scriptp1
          TEST
          Input: www.google.com/search
          www.google.com/search
  </code></pre>
  
  <p>Run 2: With question mark. Suddenly, there's a "no match" error.</p>
  
  <pre><code> edoras ~/As4[201]% ./scriptp1
      TEST
      Input: https://www.google.com/search?criteria
      echo: No match.
  </code></pre>
  
  <p>So what is this error and how do I go about fixing it? Because for the actual program I have to write I have to be able to read all special characters and print out their ASCII codes.</p>