title: Append xargs argument number as prefix
body: <p>I want to analyze the most frequentry occuring entries in (column of) a logfile. To write the detail results, I am creating new directories from the output of something along the lines of</p>
  
  <pre><code>cat logs| cut -d',' -f 6 | sort | uniq -c | sort -rn | head -10 | \
  awk '{print $2}' |xargs mkdir -p
  </code></pre>
  
  <p>Is there a way to create the directories with the sequence number of the argument as processed by xargs as a prefix? For e.g. For e.g. "oranges" is the most frequent entry (of the column) the directory created should be named "1.oranges" and so on.</p>