trantor
bdaddcf107
Typo correction
...
Suppresion -> Suppression
2017-11-22 13:47:35 -05:00
Nicolas Williams
c538237f4e
Deal with strptime() on OS X and *BSD ( fix #1415 )
...
strptime() on OS X and *BSDs (reputedly) does not set tm_wday and
tm_yday unless corresponding %U and %j format specifiers were used.
That can be... surprising when one parsed year, month, and day anyways.
Glibc's strptime() conveniently sets tm_wday and tm_yday in those cases,
but OS X's does not, ignoring them completely.
This commit makes jq compute those where possible, though the day of
week computation may be wrong for dates before 1900-03-01 or after
2099-12-31.
2017-05-21 16:24:48 -05:00
Nico Williams
6d89e297fe
Add JQ_COLORS env var for color config ( fix #1252 )
2017-04-29 14:00:52 -04:00
pkoppstein
4b4cf789e0
def isempty(g) # Testing 'isempty(empty)' at line number 1364
2017-04-15 16:45:00 -05:00
William Langford
405071337d
Don't require java to build gh-pages
2017-03-31 18:48:28 -04:00
William Langford
151b494382
Add collect example with pipeline
2017-03-31 18:48:05 -04:00
William Langford
12f74b226e
Add missing close-backtick in docs
2017-03-30 22:23:47 -04:00
Nicolas Williams
8ea21a54ad
Add halt
, halt_error
builtins ( fix #386 )
2017-02-26 16:34:56 -06:00
Nicolas Williams
6bac4ed059
Document stderr
2017-02-26 16:34:56 -06:00
Nicolas Williams
3504bd9a2a
Add $ENV builtin variable to access environment
2017-02-26 00:39:24 -06:00
Nicolas Williams
ef87010059
Document $ARGS and friends
2017-02-25 19:21:06 -06:00
Nicolas Williams
27c29aeb7b
Document localtime
and strflocaltime
2017-02-23 23:39:24 -06:00
Nicolas Williams
607a9e3912
Improve manual section on assignment forms
2017-02-23 22:17:54 -06:00
Nicolas Williams
9b2179089b
Improve manual
2017-02-15 11:48:39 -06:00
William Langford
1c806b74ea
Add builtins
builtin
2017-02-13 11:36:20 -05:00
Shaun Guth
e0b784ac6d
Add @base64d for decoding base64 #47
2017-02-12 16:03:59 -05:00
Nicolas Williams
597c1f6667
Add more missing math functions
2017-02-04 00:11:46 -06:00
Nicolas Williams
6f9646a44f
Improve docs somewhat, inspired by #1326
2017-01-30 14:11:05 -06:00
Nicolas Williams
bd7b48c1b9
Make |= delete LHS when RHS is empty ( Fix #1314 )
...
Now that #1313 is fixed, |= no longer outputs null when the RHS update
expression outputs empty.
When a user wants to keep the current value of the LHS they would have
the RHS update expression output `.`, so having `empty` achieve the same
thing would be redundant. The obvious thing to do is to delete the LHS
when the RHS update outputs `empty` (i.e., doesn't output any values).
It's reasonable to think that existing programs won't be broken by this
change, because reduce and |= not handling empty well is clearly a bug.
(Though it's possible that some programs were using empty to quickly
terminate reduce or |=, it's not likely. They should use label/break
instead.)
Prior to this change |= would use the _last_ value output by the RHS
update expression. With this change |= will use the _first_ value
instead. This change _is_ a minor backwards-incompatible change. It
may or may not be acceptable; we'll see. It is a useful change in that
it makes |= faster when the update expression produces multiple values.
2017-01-30 14:11:05 -06:00
Nicolas Williams
7bdf3a39ad
Add SQL-style operators ( #1322 )
2017-01-30 14:11:05 -06:00
Nicolas Williams
e24af3c78e
reduce: handle empty updates ( fix #1313 )
2017-01-30 14:11:05 -06:00
Richard Groves
9c4238c2f6
Typo fixed
...
simply -> simple
2017-01-23 16:21:37 -06:00
Janne Cederberg
114ac72169
Documentation clarification suggestions
2017-01-23 15:48:44 -06:00
James Pearson Hughes
a10d7fbb02
Update download instructions for Arch
...
jq has been in the community repo for [just over a year now][0].
[0]: https://projects.archlinux.org/svntogit/community.git/commit/trunk?h=packages/jq&id=8d5e06065bc92bf56ea651970c9bda07fb545554
2017-01-23 15:46:17 -06:00
Tim McCormack
f33af0b16a
Typo: s/more/mode/ in --seq
2017-01-23 15:45:07 -06:00
Mark McKinstry
0d177d240d
yum has been replaced with dnf as of f22
...
https://fedoraproject.org/wiki/Changes/ReplaceYumWithDNF
2015-11-26 10:48:06 -05:00
Loamhoof
79f9ecd150
Fix manual signature for split (non-regex)
2015-11-15 21:43:38 +01:00
David Tolnay
e17ccf2297
Support numbers and boolean in join ( fix #930 )
2015-10-25 12:40:15 -07:00
David Tolnay
b80d58e167
Move docs for map earlier ( fix #288 )
2015-10-17 23:54:07 -07:00
David Tolnay
6c31850e86
If-then-else documentation for forking conditional ( fix #942 )
2015-10-17 21:15:24 -07:00
David Tolnay
c8dc164566
Support lowercase name in from_entries ( fix #990 )
2015-10-17 20:50:40 -07:00
David Tolnay
32e5e6af4b
Revert "Adjust spacing of section headers to account for nav bar ( fix #986 )"
...
This reverts commit 73b8413d10
.
The fix for #986 caused #988 .
2015-10-13 23:29:57 -07:00
David Tolnay
4a886f831c
Autocomplete manual search to first result on submit
2015-10-13 10:48:06 -07:00
David Tolnay
e3c36777ab
Add background color to typeahead menu
2015-10-12 22:50:03 -07:00
David Tolnay
c2395f0278
Sort manual search results shortest to longest
2015-10-12 22:35:37 -07:00
David Tolnay
0791261f07
Remove backticks from manual headers and search strings
2015-10-12 22:30:16 -07:00
David Tolnay
73b8413d10
Adjust spacing of section headers to account for nav bar ( fix #986 )
2015-10-12 22:12:37 -07:00
David Tolnay
664b8e26f0
Merge typeaheadjs.css into base.scss
2015-10-12 21:03:42 -07:00
David Tolnay
64ade137bc
PGP signatures for release binaries ( fix #889 )
2015-10-12 20:57:53 -07:00
David Tolnay
c80c07ab68
Link to BootstrapCDN for Bootstrap and Bootswatch ( fix #985 )
2015-10-12 12:19:25 -07:00
David Tolnay
c5875504da
Explicitly use current directory in Rakefile
2015-10-12 10:46:17 -07:00
David Tolnay
05d1c09cc1
Split up Rakefile to minimize dependencies ( fix #435 )
2015-10-12 10:42:15 -07:00
David Tolnay
9d6e91ea7b
Add description for rake tasks
...
You can see the descriptions by running `rake --tasks`.
2015-10-12 10:21:18 -07:00
David Tolnay
4887cfd951
Remove duplicate yaml import in Rakefile
2015-10-12 10:10:56 -07:00
David Tolnay
9a51696bc0
Remove old Rakefile dist targets
...
Because binaries no longer go into the repo.
2015-10-12 10:03:18 -07:00
Simon Elsbrock
bf271b8062
docs: jq 1.5 is now available in Debian unstable
...
It may take some time until it bubbles up into Ubuntu repositories.
2015-10-12 10:02:07 +02:00
David Tolnay
2864fb467e
Bump fedora and chocolatey available version numbers
2015-10-02 19:19:36 -07:00
Roman Inflianskas
83ab4e273b
Add openSUSE repository
2015-09-20 08:15:15 -07:00
David Tolnay
1758c1ba74
Remove "Requires 1.5" from manuals
...
No longer necessary now that manuals are versioned.
2015-09-13 18:57:11 -07:00
Joel Nothman
83e8ec587f
utf8bytelength: count UTF8 string bytelength
...
[Builtin name changed, and it only works on string inputs. -Nico]
2015-09-13 01:01:24 -05:00