Minor docs fix to get rid of Bonsai warnings.

This commit is contained in:
Stephen Dolan committed 2013-05-09 02:01:01 +01:00
1 parent 282667bbd4
commit 7fbc50239c
2 files changed
+3 -2

No files matched your search

+2 -2
View File
@@ -166,7 +166,7 @@ sections:
You can also look up fields of an object using syntax like You can also look up fields of an object using syntax like
`.["foo"]` (.foo above is a shorthand version of this). This `.["foo"]` (.foo above is a shorthand version of this). This
one works for arrays as well, if the key is an 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. returns the third element of the array.
examples: examples:
@@ -271,7 +271,7 @@ sections:
filter into an array (as in `[.items[].name]`) filter into an array (as in `[.items[].name]`)
Once you understand the "," operator, you can look at jq's array 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 built-in syntax for comma-separated arrays, but is instead applying
the `[]` operator (collect results) to the expression 1,2,3 (which the `[]` operator (collect results) to the expression 1,2,3 (which
produces three different results). produces three different results).
+1
View File
@@ -1,5 +1,6 @@
# The key value pairs found below are available within the templates. # The key value pairs found below are available within the templates.
:url: http://stedolan.github.io/jq
# This line is modified by the Makefile. To change the version number, # This line is modified by the Makefile. To change the version number,
# edit the Autoconf version number at the top of configure.ac # edit the Autoconf version number at the top of configure.ac