Configuration Information [Automatically generated, do not change]:
Machine: x86_64
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS: -g -O2 -Werror=implicit-function-declaration
-fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -flto=auto
-ffat-lto-objects -fstack-protector-strong -fstack-clash-protection
-Wformat -Werror=format-security -fcf-protection -Wall
uname output: Linux sal 7.0.0-22-generic #22-Ubuntu SMP
PREEMPT_DYNAMIC Mon May 25 15:54:34 UTC 2026 x86_64 GNU/Linux
Machine Type: x86_64-pc-linux-gnu

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".

Repeat-By:
        "help break"    # (doesn't mention "select")
        "help continue" # (doesn't mention "select")

        $ break
        bash: break: only meaningful in a `for', `while', or `until' loop
        $ continue
        bash: continue: only meaningful in a `for', `while', or `until' loop

Reply via email to