Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Bug in C02cont.ztst's -N test
- X-seq: zsh-workers 38373
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Zsh hackers list <zsh-workers@xxxxxxx>
- Subject: Re: Bug in C02cont.ztst's -N test
- Date: Fri, 29 Apr 2016 20:51:28 -0700
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:date:message-id:subject:from:to; bh=1tQKVaa8LO8UNpAsUuWygWufdstRHL79Y0/phH80utA=; b=XEpLkk07LD6Lu6LeUOBfLHFWT9ieg8WNGHx4IJJ6koPp3y6KnS9dd0auHHCyHQyBjN MrmtClJ0l6+1Ceutfs14/MZFdkS8qI4o0ifZiGDTEyz8IOwIy2xNNs4nYxYua9EhSpNz 6LRBubCTXipzXPitePWg7Kb9ZZts7NceG4H14AcnYoFeO3G033uDZmdPlvWxaXZt+1TV FyPGXKj9aWpCfS5eu4jp/VYxVrHoib9WynLMVGK7k+GSRTv4LpQTB0KnWfGohkqpvBrp X3bQmHEgmg4PVOvIro2WvPytrd2PVdGYw+zdyvtKQMy2zYA2Ed/BUx3D43dl4cbuElSP m2HA==
- In-reply-to: <20160430012828.GA3334@tarsus.local2>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <ufa1t5pl0yg.fsf@epithumia.math.uh.edu> <160429131027.ZM22749@torch.brasslantern.com> <ufashy4ghvy.fsf@epithumia.math.uh.edu> <20160430004639.GA1360@tarsus.local2> <20160430010131.GA34472@CptOrmolo.darkstar> <20160430012828.GA3334@tarsus.local2>
We're gong to have to add "useless use of anonymous function" to go
with "useless use of cat".
On Fri, Apr 29, 2016 at 6:28 PM, Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx> wrote:
> Matthew Martin wrote on Fri, Apr 29, 2016 at 20:01:31 -0500:
>> + elif sleep 58; [[ $unmodified_ls == "$(ls -lu $unmodified)" ]]; then
>>
>> but who wants to sleep for 60 seconds? (There's a sleep 2 earlier.)
Is there some magic reason it has to total 60 seconds?
> elif ! () {
> repeat 58 {
> sleep 1
> if [[ $unmodified_ls != "$(ls -lu $unmodified)" ]]; then return 0; fi
> }
> return 1
> }; then
elif ! repeat 60; do sleep 1; ZTST_hashmark; [[ $unmodified_ls !=
"$(ls -lu $unmodified)" ]] && break; done; then
Messages sorted by:
Reverse Date,
Date,
Thread,
Author