On Tue, May 3, 2011 at 7:08 PM, Hans Schou <[email protected]> wrote:
> On Tue, 3 May 2011, Ole Tange wrote:
>> On Tue, May 3, 2011 at 4:25 PM, Hans Schou <[email protected]> wrote:
>>> 2011/5/3 Ole Tange <[email protected]>:
>
>> --keeporder has nothing to do with --nest. It keeps the output in the
>> same order whether or not there are multiple -a. To understand
>> --keeporder compare the output of these two:
>>
>> parallel -k sleep {}\; echo {} ::: 4 1 3 2
>> parallel sleep {}\; echo {} ::: 4 1 3 2
>
> eeeh, yes?
Sorry:
parallel -j4 -k sleep {}\; echo {} ::: 4 1 3 2
parallel -j4 sleep {}\; echo {} ::: 4 1 3 2
(I clearly have too many cores on my daily computers).
>>>> If --nest is combined with -X what would you expect that to do?
>>>
>>> I think --arg-file (-a) should conflict or -X should do nothing if
>>> combined with --arg-file.
>>> (If I understand -X correctly)
>>
>> -X makes perfect sense if there is only one -a or input is from a pipe
>> (which is the normal situation for use of -X)
>
> And what should -X do when there is 2 or more -a ?
It will probably just do whatever will work.
/Ole