lina <lina.lastn...@gmail.com> writes: >Yes. the ultimate goal is:
>for i in {0..108} >do >cat A_$i.txt B_$i.txt C_$i.txt -o ABC_$i.txt (output as ABC_$i.txt) >done >but here I wish to use only 8 processors at most, total is 16. >the administrator of the cluster asked me not to use whole, cause >someone else needs SMP server. seq 0 108 | xargs -I@ -P8 cat A_@.txt B_@.txt C_@.txt -o ABC_@.txt Most people use the character sequence {} where I have used @. I find @ to be simpler to type, so I use that instead. I don't think you need -n1 in this case as it is somewhat implied by the use of -I. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/22a7.4f274fb6.c...@xionine.xdna.net