title: AWK passing variables
body: <p>Can I able to give the value(32) in the form of variable in the below awk command instead of hardcoding 32 directly? </p>
  
  <pre><code>df -h | head -1|awk '{printf "%s%32s",$1,$2}'
  </code></pre>
  
  <p>I tried like <code>awk -v var=32</code> but its not working.</p>
  
  <p>Can anyone suggest me please.</p>