> On Nov 8, 2020, at 6:49 PM, Budi <budikus...@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