Re: help message for "break", "continue" doesn't mention "select"

Chet Ramey <[email protected]> Mon, 1 Jun 2026 14:59:33 -0400
Newsgroups gmane.comp.shells.bash.bugs
Organization ITS, Case Western Reserve University
Message-ID <[email protected]>
On 5/30/26 2:02 AM, Keith Thompson wrote:

> Bash Version: 5.3
> Patch Level: 9
> Release Status: release
> 
> Description:
>          The "break" and "continue" commands can be used within
>          a "for", "while, "until", or "select" loop.  The "info"
>          documentation correction mentions this, but "help break"
>          "help continue" do not.  The error message when "break"
>          or "continue" is invoked outside a loop also doesn't
>          mention "select".

Thanks for the report. I suppose it's because `select' is an optional
feature, though it's included by default.

Chet

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
		 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    [email protected]    http://tiswww.cwru.edu/~chet/
OpenPGP_signature.asc (application/pgp-signature, 203 B)
-----BEGIN PGP SIGNATURE-----

wmMEABEIACMWIQR8ATX7CIqvbGbGULm7WGnwZOp0qwUCah3WlQUDAAAAAAAKCRC7WGnwZOp0q1dP
AJ9pa8gJRYmzHuhxRun9hDBjvJoItACgl5qbgYffwhPjq3xYazCa+WK9Pj0=
=gVq7
-----END PGP SIGNATURE-----