|
From: | James Youngman |
Subject: | [bug #29512] [feature request] xargs parallel processing env-val improvement |
Date: | Sun, 11 Apr 2010 22:28:06 +0000 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US) AppleWebKit/533.2 (KHTML, like Gecko) Chrome/5.0.342.7 Safari/533.2 |
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/
[Prev in Thread] | Current Thread | [Next in Thread] |