Path: csiph.com!xmission!news.glorb.com!usenet.stanford.edu!not-for-mail From: Carlos Pita Newsgroups: gnu.bash.bug Subject: Continue behavior in devel branch Date: Sat, 10 Oct 2015 10:36:16 -0300 Lines: 43 Approved: bug-bash@gnu.org Message-ID: NNTP-Posting-Host: lists.gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: usenet.stanford.edu 1444489323 18202 208.118.235.17 (10 Oct 2015 15:02:03 GMT) X-Complaints-To: action@cs.stanford.edu Cc: Chester Ramey To: bug-bash@gnu.org Envelope-to: bug-bash@gnu.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:cc:content-type; bh=1bxtS6M20kKYVdqJHZuyxTYdPfloEvokZed7SWtA+BM=; b=wl+7Ys2Qe8GJDDm99ikC7uVmnw8nNr6MTKAHqRAYuyVW6bCeB2h9+Vf50ILfQZE/Qc RnMOCuuETDCGrosf0QLE1AtcRC2gyhaXlxJAvzP1FDhqZlOHBvhTU7VwTl9pCyjLrcRQ YGPSQ/cWIO2/3822Vg/QHsnp8VpVdaQStQeOGrK2g2xfJ+J2hGGtgT/AVoGKpRXHGd3r wT0P8YGJNaRrzzQmASzme9y5auof7vSRiIC0z31/w8AvJRoR8MirhG8CESr96ZHc5nlF 3kMCh10BucbtQrqceQOGQTKW142K2tenSxrftIDILVDnRrbgHoxGC1oYtaVwb4paQD9u WL1Q== X-Received: by 10.182.85.165 with SMTP id i5mr11737314obz.69.1444484195918; Sat, 10 Oct 2015 06:36:35 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4003:c01::232 X-Mailman-Approved-At: Sat, 10 Oct 2015 11:02:00 -0400 X-BeenThere: bug-bash@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Bug reports for the GNU Bourne Again SHell List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Xref: csiph.com gnu.bash.bug:11601 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