Changeset View
Changeset View
Standalone View
Standalone View
bin/sh/sh.1
Show First 20 Lines • Show All 1,027 Lines • ▼ Show 20 Lines | |||||
command continues with the next iteration of the innermost loop. | command continues with the next iteration of the innermost loop. | ||||
These are implemented as special built-in commands. | These are implemented as special built-in commands. | ||||
.Pp | .Pp | ||||
The syntax of the | The syntax of the | ||||
.Ic case | .Ic case | ||||
command is: | command is: | ||||
.Bd -unfilled -offset indent -compact | .Bd -unfilled -offset indent -compact | ||||
.Ic case Ar word Ic in | .Ic case Ar word Ic in | ||||
.Ar pattern Ns ) Ar list Li ;; | .Ar pattern ) Ar list Li ;; | ||||
bjk: It seems to work just as well if the "Ns" is dropped entirely, per line 1322's behavior when… | |||||
.Ar ... | .Ar ... | ||||
.Ic esac | .Ic esac | ||||
.Ed | .Ed | ||||
.Pp | .Pp | ||||
The pattern can actually be one or more patterns | The pattern can actually be one or more patterns | ||||
(see | (see | ||||
.Sx Shell Patterns | .Sx Shell Patterns | ||||
described later), | described later), | ||||
▲ Show 20 Lines • Show All 1,835 Lines • Show Last 20 Lines |
It seems to work just as well if the "Ns" is dropped entirely, per line 1322's behavior when rendered.