From ae431b2e59fb26f2966490bb31e107c4cde08fa3 Mon Sep 17 00:00:00 2001 From: Ryan Braganza Date: Fri, 21 Feb 2014 03:10:47 -0800 Subject: [PATCH] Fix >= example # [1,2,3] '[1,2,3] | map(select(. >= 2))' returns [2,3] not [3] --- manual/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manual/index.html b/manual/index.html index 9ec0b06..4732c59 100644 --- a/manual/index.html +++ b/manual/index.html @@ -1436,7 +1436,7 @@ map(foo) | from_entries, useful for doing some operation to all keys and

The function select(foo) produces its input unchanged if foo returns true for that input, and produces no output otherwise.

-

It’s useful for filtering lists: [1,2,3] | map(select(. >= 2)) will give you [3].

+

It’s useful for filtering lists: [1,2,3] | map(select(. >= 2)) will give you [2,3].

-- 2.40.0