diff options
author | Stephen Dolan <mu@netsoc.tcd.ie> | 2013-05-11 15:21:23 +0100 |
---|---|---|
committer | Stephen Dolan <mu@netsoc.tcd.ie> | 2013-05-11 15:21:23 +0100 |
commit | 7ca5127fcc74ec2c58c1ad01de57d1c5ec00b827 (patch) | |
tree | 07985ebf2a44abb7dd0193e7a48e5c141f8004c4 /docs/content | |
parent | 7813f363a20817c8b0429f53e4740d6ed852e527 (diff) | |
parent | 4b1b9c219a37488e4b113e87216da121671b2297 (diff) |
Merge branch 'autotools'
Diffstat (limited to 'docs/content')
-rw-r--r-- | docs/content/3.manual/manual.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/content/3.manual/manual.yml b/docs/content/3.manual/manual.yml index 01defbd8..2f36392c 100644 --- a/docs/content/3.manual/manual.yml +++ b/docs/content/3.manual/manual.yml @@ -166,7 +166,7 @@ sections: You can also look up fields of an object using syntax like `.["foo"]` (.foo above is a shorthand version of this). This one works for arrays as well, if the key is an - integer. Arrays are zero-based (like javascript), so .[2] + integer. Arrays are zero-based (like javascript), so `.[2]` returns the third element of the array. examples: @@ -271,7 +271,7 @@ sections: filter into an array (as in `[.items[].name]`) Once you understand the "," operator, you can look at jq's array - syntax in a different light: the expression [1,2,3] is not using a + syntax in a different light: the expression `[1,2,3]` is not using a built-in syntax for comma-separated arrays, but is instead applying the `[]` operator (collect results) to the expression 1,2,3 (which produces three different results). |