title: using awk in expect send getting can't read "1": no such variable error
body: <p>I am sending awk command through expect send, when i am sending i am getting error but i  can't read 1 no such variable</p>
  
  <p>I did use {{}} mechansim but i did work,</p>
  
  <pre><code>expect "$prompt" {
      send "awk {{print $1}} /mytest/test.log\r"
  }
  </code></pre>
  
  <p>I tried with eascapse sequence \, but i didnot find any response expect_out(buffer),..etc</p>
  
  <pre><code>    expect "$prompt" {
      send "awk '{print \$1}' /mytest/test.log\r"
  }
  </code></pre>
  
  <p>I tried with exec command also</p>
  
  <pre><code>    expect "$prompt" {
      send "exec awk {{print $1}} /mytest/test.log\r"
  }
  </code></pre>