From 71941a0d4706fecf641df249c27ec73771bc149c Mon Sep 17 00:00:00 2001 From: Nicolas Williams Date: Thu, 3 Aug 2023 23:24:06 -0500 Subject: [PATCH] Clarify the `//` operator (fix typo) --- docs/content/manual/manual.yml | 2 +- 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\.