diff options
author | Nicolas Williams <nico@cryptonector.com> | 2023-08-03 23:24:06 -0500 |
---|---|---|
committer | Nicolas Williams <nico@cryptonector.com> | 2023-08-03 23:24:12 -0500 |
commit | 71941a0d4706fecf641df249c27ec73771bc149c (patch) | |
tree | c7d01a748482d24210d74f524ea47f639fc9a342 | |
parent | dcaf701ef66dd0a9c27df49959e4eae9c45c73c4 (diff) |
Clarify the `//` operator (fix typo)
-rw-r--r-- | docs/content/manual/manual.yml | 2 | ||||
-rw-r--r-- | jq.1.prebuilt | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/content/manual/manual.yml b/docs/content/manual/manual.yml index cebc0d88..3e2c289d 100644 --- a/docs/content/manual/manual.yml +++ b/docs/content/manual/manual.yml @@ -2391,7 +2391,7 @@ sections: The `//` operator produces all the values of its left-hand side that are neither `false` nor `null`, or, if the left-hand side produces no values other than `false` or - `true`, then `//` produces all the values of its right-hand + `null`, then `//` produces all the values of its right-hand side. A filter of the form `a // b` produces all the results of diff --git a/jq.1.prebuilt b/jq.1.prebuilt index e6ccd181..b2590acc 100644 --- a/jq.1.prebuilt +++ b/jq.1.prebuilt @@ -2577,7 +2577,7 @@ jq \'[true, false | not]\' .IP "" 0 . .SS "Alternative operator: //" -The \fB//\fR operator produces all the values of its left\-hand side that are neither \fBfalse\fR nor \fBnull\fR, or, if the left\-hand side produces no values other than \fBfalse\fR or \fBtrue\fR, then \fB//\fR produces all the values of its right\-hand side\. +The \fB//\fR operator produces all the values of its left\-hand side that are neither \fBfalse\fR nor \fBnull\fR, or, if the left\-hand side produces no values other than \fBfalse\fR or \fBnull\fR, then \fB//\fR produces all the values of its right\-hand side\. . .P A filter of the form \fBa // b\fR produces all the results of \fBa\fR that are not \fBfalse\fR or \fBnull\fR\. If \fBa\fR produces no results, or no results other than \fBfalse\fR or \fBnull\fR, then \fBa // b\fR produces the results of \fBb\fR\. |