bug-bash
[Top][All Lists]
Advanced

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

Re: Feature request


From: Lawrence Velázquez
Subject: Re: Feature request
Date: Sun, 8 Nov 2020 19:09:33 -0500

> On Nov 8, 2020, at 6:49 PM, Budi <budikusasi@gmail.com> wrote:
> 
> Need feature on while's readily flag
> 
> $ i=;while ((i<5)) ;do let i++ ;echo $i ;done ;echo $?
> 1
> 2
> 3
> 4
> 5
> 0
> 
> $ i=7;while ((i<5)) ;do let i++ ;echo $i ;done ;echo $?
> 0
> 
> we need feature on while's ability to supply flag when it's up to the
> end of loop block

It's not clear what you're asking for. Do you want while to exit
nonzero when it doesn't perform any loops?

> Please fulfill this, it's really needed

For what?

vq



reply via email to

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