Skip to content

Commit

Permalink
Add $status to the man page.
Browse files Browse the repository at this point in the history
  • Loading branch information
jpco committed Dec 1, 2023
1 parent 2c31755 commit e61e753
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion doc/es.1
Original file line number Diff line number Diff line change
Expand Up @@ -934,7 +934,7 @@ The return value of a command is obtained with the construct
.De
.PP
The return value of an external program is its exit status
(which in other shells can be found in special variables such as
(which in other shells must be determined from special variables such as
.Cr $?
or
.Cr $status ),
Expand Down Expand Up @@ -962,6 +962,11 @@ If any element of a list is not equal to
(or the empty string), that list is considered false.
.PP
The return value of an assignment operation is the assigned value.
.PP
The default interactive loop makes the return value of the previous command
available via the
.Cr $status
variable.
.SS "Logical Operators"
There are a number of operators in
.I es
Expand Down

0 comments on commit e61e753

Please sign in to comment.