title: Awk adding constant values
body: <p>I have data in the text file like val1,val2 with multiple lines
  and I want to change it to 1,val1,val2,0,0,1 </p>
  
  <p>I tried with print statement in awk(solaris) to add constants by it didn't work.</p>
  
  <p>What is the correct way to do it ?</p>
  
  <hr>
  
  <p>(From the comments) This is what I tried</p>
  
  <pre><code>awk -F, '{print "%s","1,"$1","$2"0,0,1"}' test.txt 
  </code></pre>