parallel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: --nest for nested argument files


From: Hans Schou
Subject: Re: --nest for nested argument files
Date: Tue, 3 May 2011 19:08:24 +0200 (CEST)
User-agent: Alpine 2.02 (DEB 1266 2009-07-14)

On Tue, 3 May 2011, Ole Tange wrote:

On Tue, May 3, 2011 at 4:25 PM, Hans Schou <chlor@schou.dk> wrote:
2011/5/3 Ole Tange <tange@gnu.org>:

--keeporder has nothing to do with --nest. It keep the output in the
same order whether or not there are multiple -a. To understand
--keeporder compare the output of there two:

parallel -k sleep {}\; echo {} ::: 4 1 3 2
parallel sleep {}\; echo {} ::: 4 1 3 2

eeeh, yes?

chlor@sko:~$ parallel sleep {}\; echo {} ::: 4 1 3 2
4
1
3
2
chlor@sko:~$
chlor@sko:~$ parallel -k sleep {}\; echo {} ::: 4 1 3 2
4
1
3
2
chlor@sko:~$ parallel --version
GNU parallel 20110422

same same.

Why would I use "not keep order"?

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 ?

/hans
--
Horsebakken 78, DK-2400 København NV

reply via email to

[Prev in Thread] Current Thread [Next in Thread]