title: Get argument from pipe
body: <p>Consider having the results from the pipe:</p>
  
  <pre><code>find .
  </code></pre>
  
  <p>Now I would like to access in the second command behind the pipe what is actually piped (inputed) and then for example to print it twice.</p>
  
  <pre><code>find . | printf $arg$arg\n
  #each filename would be printed twice per line
  </code></pre>
  
  <p>Please note that the question is not asking about printing whatever once gets from pipe twice, I know how to use bash <i>for</i> loop or write a script that could accomplish the mentioned. <strong>How I can get $arg</strong> to use it quickly in inline scripts?</p>
  
  <p>$0 and $1 do not work as they do in scripting files.</p>