1
0
mirror of https://github.com/stedolan/jq.git synced 2024-05-11 05:55:39 +00:00

124 Commits

Author SHA1 Message Date
73bd347fcf Add links to Solaris 11+ executables 2014-06-12 19:26:05 -05:00
c9dbe090c5 Include links to 1.3 executables in gh-pages 2014-06-12 17:30:30 -05:00
fdf843c08b Make the note about shell quoting appear on site 2014-06-09 17:43:17 -05:00
cf145ec65e Add note about cmd.exe quoting 2014-06-09 10:22:55 -05:00
4889844d0c Building docs fails on powerpc (#349)
Thanks @shym!!
2014-06-09 09:39:02 -05:00
dc7857c585 Update site news 2014-06-08 20:45:06 -05:00
1dbe9317bc Add indices(s), improve index(s), rindex(s)
Now these deal with arrays as input and `s` being an array or a scalar.
2014-06-08 02:01:44 -05:00
ef4f3a54fe Improve index and rindex examples 2014-06-08 02:01:21 -05:00
9af03c2562 Remove reference to getpath from docs 2014-06-08 01:35:03 -05:00
c10e5f4e73 Document index and rindex (#389) 2014-06-08 00:00:17 -05:00
01f676041d Added join function
Signed-off-by: Nicolas Williams <nico@cryptonector.com>
2014-06-07 21:53:03 -05:00
35b6b949e3 Add -j option to scripts/crosscompile 2014-06-04 18:36:30 -05:00
072ebb911b Documented del command 2014-05-21 01:23:28 +02:00
69aa0003af Added texts/examples to unique_by function 2014-05-12 01:44:53 +02:00
41a093c1f2 Added unique_by function 2014-05-12 01:37:27 +02:00
6f0a9521e1 Merge pull request #176 from pearkes/new-tutorial
Docs: Update the tutorial to use GitHub's API
2014-03-13 00:57:54 -05:00
aee5c3ecb0 Fix for #303 in the sources 2014-03-13 00:57:33 -05:00
769314a8a2 Document scalars 2014-03-13 00:29:53 -05:00
1a1adf73e8 Document arrays, objects, ... 2014-03-13 00:29:53 -05:00
2aa8a43c5b Add a recursive object merge strategy and bind it to *
This commit adds a jv_object_merge_recursive function, that performs
recursive object merging, and binds it to multiply when applied to
two objects.

Added docs and tests.

Closes #320
2014-03-08 03:56:05 +01:00
fe29d3d3fa Add ?, .[]?, and .. operators
Make XPath-like `//a/b` recursive structure traversal easier in jq,
which then becomes:

    ..|.a?.b?

The `?` operator suppresses errors about . not being an array or object.
The `..` operator is equivalent to calling the new `recurse_down`
built-in, which in turn is equivalent to

    recurse(.[]?)

Note that `..a` is not supported; neither is `...a`.  That could be add
added, but it doesn't seem worth the trouble of saving the need to type
a '|'.
2014-02-20 15:33:07 -06:00
fb9196021e manual.yml: fix indent for the new any and all commands. 2014-02-19 15:10:32 +02:00
8b41415b07 Added all and any builtins 2014-02-17 04:01:32 +01:00
1fa55a3fae Fix cut-n-paste in leaf_paths; doc and test 'em 2014-02-05 23:14:05 -06:00
e12d0ffd1e Document --version 2013-12-26 18:48:51 -06:00
cb976b9a50 Document .foo.bar in manual 2013-12-26 18:25:31 -06:00
060eb39bf9 Document exit numbers 2013-12-26 12:54:07 -06:00
41a8ae7557 Fix doc typos (.[foo] wanted to be .["foo"]) 2013-12-25 17:09:27 -06:00
1956abbedf Add note to jq.1 about shell quoting 2013-12-25 17:05:32 -06:00
4d40a47eab Fix @uri example
Previously, the @uri example didn't match the actual behavior of the current jq, as exclamation marks do not need to be encoded in URIs.
Replace the example with an input that needs encoding, and is encoded by jq.
2013-12-20 11:32:53 +01:00
dac081e183 Fix manual.yml 2013-12-06 11:58:55 -06:00
09104ce531 Document ltrimstr and rtrimstr 2013-12-04 18:21:41 -06:00
fa316ac430 Document -u / --unslurp option 2013-12-04 18:21:41 -06:00
4e07eac356 Document -e / --exit-status argument 2013-12-04 18:21:40 -06:00
8cee66e609 Document tojson and fromjson builtins 2013-12-04 18:21:40 -06:00
20b32db5af Document split function 2013-12-04 18:21:40 -06:00
b634722c8a Document string multiplication and division 2013-12-04 18:21:40 -06:00
c9e8581f45 Document string functions and slicing 2013-12-04 18:21:39 -06:00
6a401c8262 Add a --unbuffered option. Closes #206 2013-11-08 12:21:45 +00:00
bdbfa7e32c count should be length
Example refers to a count function, which does not exist. Replacing it with length works.
2013-11-07 16:39:44 +01:00
da723d3e11 Docs: add description of --from-file option 2013-10-16 21:42:29 +09:00
2f6b89ef70 Add missing -i flag in build instructions 2013-09-20 10:34:57 +08:00
4e3024cb61 Merge pull request #182 from mdaines/sqrt-builtin
Add builtin for calculating square root
2013-09-14 16:34:52 -07:00
fe99532f8b Fix typo 2013-09-13 12:15:52 -04:00
82d8253c19 Add sqrt operator 2013-09-11 20:24:41 -04:00
c1717d6e12 docs: update the tutorial to use GitHub's API 2013-09-04 11:42:40 +02:00
54b9c9bdb2 Fix example in manual for floor. See #155. 2013-06-22 12:17:28 +01:00
3dcdc582ea Document floor 2013-06-21 15:27:34 -05:00
1d839ff9df Document mod 2013-06-21 15:27:34 -05:00
81e2336ace Support ."foo" syntax for accessing fields. See #141. 2013-06-11 22:26:39 +01:00