findutils-patches
[Top][All Lists]
Advanced

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

[Findutils-patches] Re: [PATCH] This change adds a sleep between invocat


From: ed
Subject: [Findutils-patches] Re: [PATCH] This change adds a sleep between invocations of cmd.
Date: Thu, 23 Sep 2010 09:35:23 +0100
User-agent: Mutt/1.5.18 (2008-05-17)

On Wed, Sep 22, 2010 at 11:13:59PM +0100, James Youngman wrote:
> But why would you not just use
> 
> .... | xargs sh -c 'sleep 60 && exec command ... "$@"' command
> 
> ?

That's kind of why I wrote this change, just to make things simpler.
Prior to this I'd put the input through some perl to delay it sending
the output to xargs but would require fewer invocations of 'sleep'. I
think this is worth having just from a simplicity point of view.

-- 
Best regards,
Ed http://www.s5h.net/




reply via email to

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