Follow-up Comment #8, bug #29512 (project findutils):

Try the attached patch.

$ seq 0 25 |./xargs/xargs -P3  -n3 --process-slot-var=XARGS_SLOT  bash -c
'echo [$XARGS_SLOT] $@; sleep 2' x
[2] 6 7 8
[1] 3 4 5
[0] 0 1 2
[1] 12 13 14
[2] 9 10 11
[0] 15 16 17
[1] 18 19 20
[2] 21 22 23
[0] 24 25


(file #20196)
    _______________________________________________________

Additional Item Attachment:

File name: 0001-Implement-xargs-process-slot-var.patch Size:10 KB


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?29512>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/



Reply via email to