Re: "until continue" causes bash to exit.

2016-07-19 Thread Dan Douglas
On 07/19/2016 09:45 PM, Chet Ramey wrote: > On 7/19/16 7:15 PM, Dan Douglas wrote: >> Hi, I could reproduce this in all bash versions. >> >> bash -c 'set -x; until continue; do :; done; echo test1'; echo test2 >> + continue >> test2 >> >> I'm not actually sure whether this is supposed to work at al

Re: "until continue" causes bash to exit.

2016-07-19 Thread Chet Ramey
On 7/19/16 7:15 PM, Dan Douglas wrote: > Hi, I could reproduce this in all bash versions. > > bash -c 'set -x; until continue; do :; done; echo test1'; echo test2 > + continue > test2 > > I'm not actually sure whether this is supposed to work at all. Almost > all shells do something strange when

Re: "until continue" causes bash to exit.

2016-07-19 Thread konsolebox
On Wed, Jul 20, 2016 at 7:15 AM, Dan Douglas wrote: > Hi, I could reproduce this in all bash versions. > > bash -c 'set -x; until continue; do :; done; echo test1'; echo test2 > + continue > test2 > > I'm not actually sure whether this is supposed to work at all. Almost > all shells do something s

"until continue" causes bash to exit.

2016-07-19 Thread Dan Douglas
Hi, I could reproduce this in all bash versions. bash -c 'set -x; until continue; do :; done; echo test1'; echo test2 + continue test2 I'm not actually sure whether this is supposed to work at all. Almost all shells do something strange when given continue in the first compound-list. E.g. ksh93 d