September 2017 Update

This commit is contained in:
Ingy döt Net 2017-09-23 10:01:46 +02:00
parent bba7bfd280
commit ba8067c3b7
14570 changed files with 153136 additions and 63871 deletions

View file

@ -0,0 +1 @@
def example: [1,2];

View file

@ -0,0 +1,2 @@
example | .[]
# or equivalently: example[]

View file

@ -0,0 +1,2 @@
{"a":1, "b":2} | .[]
# or equivalently: {"a":1, "b":2}[]

View file

@ -0,0 +1 @@
example | . as $a | range(0; length) | $a[.]

View file

@ -0,0 +1 @@
{"a":1, "b":2} | . as $o | keys | map( [., $o[.]] )

View file

@ -0,0 +1,3 @@
"abc" | . as $s | range(0;length) | $s[.:.+1]
"abc" | explode | map( [.]|implode) | .[]