Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.bash.bug > #11601
| From | Carlos Pita <carlosjosepita@gmail.com> |
|---|---|
| Newsgroups | gnu.bash.bug |
| Subject | Continue behavior in devel branch |
| Date | 2015-10-10 10:36 -0300 |
| Message-ID | <mailman.48.1444489321.7904.bug-bash@gnu.org> (permalink) |
Hi Chet,
consider the following program:
yyy() {
continue
}
xxx() {
while true; do
echo x
yyy
echo y
break
done
}
xxx
In the bash devel branch it will ignore the continue and echo
x
y
In the stable branch it will echo
x
x
x
x
.
.
.
forever, because the continue works across function calls.
Is this intended or a bug?
Cheers
--
Carlos
Back to gnu.bash.bug | Previous | Next | Find similar
Continue behavior in devel branch Carlos Pita <carlosjosepita@gmail.com> - 2015-10-10 10:36 -0300
csiph-web