diff options
author | Stephen Dolan <mu@netsoc.tcd.ie> | 2013-05-06 01:14:53 +0100 |
---|---|---|
committer | Stephen Dolan <mu@netsoc.tcd.ie> | 2013-05-06 01:14:53 +0100 |
commit | 8bf4a73f3ddf08bfc4bd7367ea14524abe24552a (patch) | |
tree | b17f13a4e658620ad54d328724af19cecb03b359 /docs/content | |
parent | d04bd897e315a419c90dfa3cb3f25d8547223d3f (diff) |
Fix some bad escaping
Diffstat (limited to 'docs/content')
-rw-r--r-- | docs/content/3.manual/manual.yml | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/docs/content/3.manual/manual.yml b/docs/content/3.manual/manual.yml index 21907b95..166a385a 100644 --- a/docs/content/3.manual/manual.yml +++ b/docs/content/3.manual/manual.yml @@ -144,7 +144,7 @@ sections: The simplest *useful* filter is .foo. When given a JSON object (aka dictionary or hash) as input, it produces - the value at the key "foo", or null if there\'s none present. + the value at the key "foo", or null if there's none present. examples: - program: '.foo' @@ -218,8 +218,8 @@ sections: - title: "`|`" body: | The | operator combines two filters by feeding the output(s) of - the one on the left into the input of the one on the right. It\'s - pretty much the same as the Unix shell\'s pipe, if you\'re used to + the one on the left into the input of the one on the right. It's + pretty much the same as the Unix shell's pipe, if you're used to that. If the one on the left produces multiple results, the one on @@ -257,7 +257,7 @@ sections: in `[.foo, .bar, .baz]`) or to "collect" all the results of a 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 built-in syntax for comma-separated arrays, but is instead applying the `[]` operator (collect results) to the expression 1,2,3 (which @@ -279,8 +279,8 @@ sections: If the keys are "sensible" (all alphabetic characters), then the quotes can be left off. The value can be any expression - (although you may need to wrap it in parentheses if it\'s a - complicated one), which gets applied to the {} expression\'s + (although you may need to wrap it in parentheses if it's a + complicated one), which gets applied to the {} expression's input (remember, all filters have an input and an output). @@ -294,10 +294,10 @@ sections: {user: .user, title: .title} - Because that\'s so common, there\'s a shortcut syntax: `{user, title}`. + Because that's so common, there's a shortcut syntax: `{user, title}`. If one of the expressions produces multiple results, - multiple dictionaries will be produced. If the input\'s + multiple dictionaries will be produced. If the input's {"user":"stedolan","titles":["JQ Primer", "More JQ"]} |