title: How to duplicate the output based on the number of lines
body: <p>I have a scenario to duplicate the values of the second command based on the output of the 1st command result. </p>
  
  <p>Below is the example:</p>
  
  <p>1st command output:</p>
  
  <pre><code>/raam/assigned/2018/sample/part01-examples.csv,100,20-jun-2018
  /raam/assigned/2018/sample/part02-examples.csv,100,20-jun-2018
  /raam/assigned/2018/sample/part03-examples.csv,100,20-jun-2018
  </code></pre>
  
  <p>2nd command output:</p>
  
  <pre><code>raam
  </code></pre>
  
  <p>expected result:
  I need to combine both the results and need to duplicate the value of the 2nd command as shown below</p>
  
  <pre><code>/raam/assigned/2018/sample/part01-examples.csv,100,20-jun-2018,raam
  /raam/assigned/2018/sample/part02-examples.csv,100,20-jun-2018,raam
  /raam/assigned/2018/sample/part03-examples.csv,100,20-jun-2018,raam
  </code></pre>