Skip to content
Myr

Replace find with select function as the example of jq-coded functions (#1962)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by itchyny · committed by GitHub · parent 4e9a1a8 · Browse files · 5 files+5 added−5 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

5 files+5 added−5 removed

  • other:+5 added−5 removed

5 files+5 added−5 removed

modified:docs/content/manual/v1.3/manual.yml+1 added-1 removed
1018 unmodified lines
1019 which to place the data.10201021 It is also possible to define functions in jq, although this is1022 is a feature whose biggest use is defining jq's standard library1023 (many jq functions such as `map` and `find` are in fact written1023 (many jq functions such as `map` and `select` are in fact written1024 in jq).10251026 Finally, jq has a `reduce` operation, which is very powerful but a1027 bit tricky. Again, it's mostly used internally, to define some
243 unmodified lines
modified:docs/content/manual/v1.4/manual.yml+1 added-1 removed
1420 unmodified lines
1421 which to place the data.14221423 It is also possible to define functions in jq, although this is1424 is a feature whose biggest use is defining jq's standard library1425 (many jq functions such as `map` and `find` are in fact written1425 (many jq functions such as `map` and `select` are in fact written1426 in jq).14271428 Finally, jq has a `reduce` operation, which is very powerful but a1429 bit tricky. Again, it's mostly used internally, to define some
243 unmodified lines
modified:docs/content/manual/v1.5/manual.yml+1 added-1 removed
2147 unmodified lines
2148 which to place the data.21492150 It is also possible to define functions in jq, although this is2151 is a feature whose biggest use is defining jq's standard library2152 (many jq functions such as `map` and `find` are in fact written2152 (many jq functions such as `map` and `select` are in fact written2153 in jq).21542155 jq has reduction operators, which are very powerful but a bit2156 tricky. Again, these are mostly used internally, to define some
722 unmodified lines
modified:docs/content/manual/v1.6/manual.yml+1 added-1 removed
2393 unmodified lines
2394 which to place the data.23952396 It is also possible to define functions in jq, although this is2397 is a feature whose biggest use is defining jq's standard library2398 (many jq functions such as `map` and `find` are in fact written2398 (many jq functions such as `map` and `select` are in fact written2399 in jq).24002401 jq has reduction operators, which are very powerful but a bit2402 tricky. Again, these are mostly used internally, to define some
887 unmodified lines
modified:docs/content/manual/manual.yml+1 added-1 removed
2484 unmodified lines
2485 which to place the data.24862487 It is also possible to define functions in jq, although this is2488 is a feature whose biggest use is defining jq's standard library2489 (many jq functions such as `map` and `find` are in fact written2489 (many jq functions such as `map` and `select` are in fact written2490 in jq).24912492 jq has reduction operators, which are very powerful but a bit2493 tricky. Again, these are mostly used internally, to define some
895 unmodified lines