File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -934,7 +934,7 @@ The return value of a command is obtained with the construct
934
934
.De
935
935
.PP
936
936
The return value of an external program is its exit status
937
- (which in other shells can be found in special variables such as
937
+ (which in other shells must be determined from special variables such as
938
938
.Cr $?
939
939
or
940
940
.Cr $status ),
@@ -962,6 +962,11 @@ If any element of a list is not equal to
962
962
(or the empty string), that list is considered false.
963
963
.PP
964
964
The return value of an assignment operation is the assigned value.
965
+ .PP
966
+ The default interactive loop makes the return value of the previous command
967
+ available via the
968
+ .Cr $status
969
+ variable.
965
970
.SS "Logical Operators"
966
971
There are a number of operators in
967
972
.I es
You can’t perform that action at this time.
0 commit comments