title: variables in awk
body: <p>I have a following line in my shell script. </p>
  
  <pre><code>time mysqlshow -u$user -p$password |  egrep -v 'information_schema|performance_schema' | awk '{print "mysql -u$user -p$password -Bse \"drop database", $2, "\""}'
  </code></pre>
  
  <p>The first $user is correctly changing to username variable. But the one within awk statement does not. I tried to add double and single quotes with and without escape characters \ but it does not work.</p>