title: Append output of a command to each line in large file
body: <p>I need to add a random guid to each line in a <strong>large</strong> text file.  I need that guid to be different for each line.</p>
  
  <p>This works except that the guid is the same for every line:</p>
  
  <pre><code>sed -e "s/$/$(uuidgen -r)/" text1.log &gt; text2.log
  </code></pre>