bug-bash
[Top][All Lists]
Advanced

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

Re: while clause with two conditions does not execute when continue is u


From: Dale R. Worley
Subject: Re: while clause with two conditions does not execute when continue is used
Date: Sun, 25 Oct 2020 21:57:59 -0400

Freek de Kruijf <f.de.kruijf@beelaertsict.nl> writes:
> Indeed the && before continue should have acted as ; I did not realize up 
> could return a status 1 and not execute continue. Inserting "return 0" at the 
> end of up solves the problem.

It seems to me that it would be a better solution to replace "up &&
continue" with the more expected "up ; continue" or the equivalent "up
[newline] continue", rather than changing with the definition of "up".

Dale



reply via email to

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