breakcmd

package
v0.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 16, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package breakcmd implements the break builtin command.

break — exit from a for, while, or until loop

Usage: break [N]

Exit from the innermost enclosing loop. If N is specified, break out of N enclosing loops.

Exit codes:

0  Loop exited successfully.
1  Not inside a loop, or invalid argument.

Index

Constants

This section is empty.

Variables

View Source
var Cmd = builtins.Command{Name: "break", Description: "exit from a loop", MakeFlags: builtins.NoFlags(run)}

Cmd is the break builtin command descriptor.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL