From 7f547827e47b5ade563a293329deb4226496d72f Mon Sep 17 00:00:00 2001 From: Thomas Bozeman th026106 Date: Tue, 3 Oct 2023 17:50:08 +0000 Subject: Simplify `pick` example Old pick example included input array in command line, making `input` confusing and redundant. --- jq.1.prebuilt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'jq.1.prebuilt') diff --git a/jq.1.prebuilt b/jq.1.prebuilt index a421a502..1f604e26 100644 --- a/jq.1.prebuilt +++ b/jq.1.prebuilt @@ -1,5 +1,5 @@ . -.TH "JQ" "1" "September 2023" "" "" +.TH "JQ" "1" "October 2023" "" "" . .SH "NAME" \fBjq\fR \- Command\-line JSON processor @@ -1066,7 +1066,7 @@ jq \'pick(\.a, \.b\.c, \.x)\' {"a": 1, "b": {"c": 2, "d": 3}, "e": 4} => {"a":1,"b":{"c":2},"x":null} -jq \'[1,2,3,4] | pick(\.[2], \.[0], \.[0])\' +jq \'pick(\.[2], \.[0], \.[0])\' [1,2,3,4] => [1,null,3] . -- cgit v1.2.3