parallel
[Top][All Lists]
Advanced

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

Re: How should --onall work?


From: Ole Tange
Subject: Re: How should --onall work?
Date: Sat, 4 Jun 2011 11:54:29 +0200

On Thu, May 26, 2011 at 11:27 PM, Ole Tange <tange@gnu.org> wrote:
> On Thu, May 26, 2011 at 10:17 PM, Ole Tange <tange@gnu.org> wrote:
>> On Thu, May 26, 2011 at 5:45 PM, Ole Tange <tange@gnu.org> wrote:
>>> I have been convinced that GNU Parallel should have an --onall option.
>> [...]
>>
>> A solution could be having version of --onall that runs with no
>> arguments - no matter if stdin == tty:
>>
>>  parallel --nonall -S server1,server2 uptime
>>
>> would run:
>>
>>  parallel --onall -S server1,server2 uptime ::: ''
>>
>> Please comment.
>
> This is now implemented. Please fetch the newest GIT-version and give
> it a spin. These are tested:
>
> parallel --nonall -S server1,server2 uptime
> parallel --onall -S server1,server2 hostname';'echo ::: 1 2 3
>
> Please try some more complex setups.

Currently GNU Parallel will only print out all the output from a
single server. Some might consider that good and others might consider
that bad. It will, however, require quite some work to make it mix the
output from different servers but still have the output grouped (so
they do not mix in the middle of a line).

Give it a spin. If there are no problems I will make an alpha release.

/Ole



reply via email to

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