title: reading a variable from the user in an expect script
body: <p>Below is my script:</p>
  
  <pre><code>#!/usr/bin/expect
  echo "enter unique id" 
  read test
  mkdir -p  /evoting_test/$test
          spawn scp -r abc@10.150.10.104:/shareddata/was/l1/*.pdf /rishabh/$test/
          set pass "abc123"
          expect {
                  password: {send "$pass\r"; exp_continue}
                  }
  </code></pre>
  
  <p>I am getting error:</p>
  
  <pre><code>invalid command name "echo"
      while executing
  "echo "enter uNIQUE id" "
      (file "./scp_test.sh" line 2)
  </code></pre>
  
  <p>It is not reading variable from user and use that variable in command</p>