the source tree) is licensed under the Creative Commons CC BY 3.0
license, which can be found at:
- http://creativecommons.org/licenses/by/3.0/
+ https://creativecommons.org/licenses/by/3.0/
The documentation website includes a copy of Twitter's Boostrap and
relies on Bonsai, Liquid templates and various other projects, look
jq is a command-line JSON processor.
If you want to learn to use jq, read the documentation at
-[http://stedolan.github.io/jq](http://stedolan.github.io/jq). This
+[https://stedolan.github.io/jq](https://stedolan.github.io/jq). This
documentation is generated from the docs/ folder of this repository.
-You can also try it online at [jqplay.org](http://jqplay.org).
+You can also try it online at [jqplay.org](https://jqplay.org).
If you want to hack on jq, feel free, but be warned that its internals
are not well-documented at the moment. Bring a hard hat and a
-shovel. Also, read the wiki: http://github.com/stedolan/jq/wiki
+shovel. Also, read the wiki: https://github.com/stedolan/jq/wiki
Source tarball and built executable releases can be found on the
homepage and on the github release page, https://github.com/stedolan/jq/releases
Use the --host= and --target= ./configure options to select a
cross-compilation environment. See also the wiki.
-Send questions to http://stackoverflow.com/questions/tagged/jq or to the #jq channel (http://irc.lc/freenode/%23jq/) on Freenode (https://webchat.freenode.net/).
+Send questions to https://stackoverflow.com/questions/tagged/jq or to the #jq channel (http://irc.lc/freenode/%23jq/) on Freenode (https://webchat.freenode.net/).
m4_define([jq_version], m4_esyscmd_s([git describe --tags --dirty --match 'jq-*'|sed 's/^jq-//']))
AC_INIT([jq], [jq_version], [https://github.com/stedolan/jq/issues],
- [jq], [http://stedolan.github.io/jq])
+ [jq], [https://stedolan.github.io/jq])
m4_include([m4/ax_compare_version.m4])
m4_include([m4/ax_prog_bison_version.m4])
After that finishes installing, you'll need to make sure RVM is on
your path by doing `source $HOME/.rvm/scripts/rvm`, or just opening a
-new shell. See <http://rvm.io> for more info on RVM.
+new shell. See <https://rvm.io> for more info on RVM.
Once RVM is installed, you can install all the dependencies for jq's
documentation build by running this from the `docs` directory:
manually by following instructions on [Arch Linux's
Wiki](https://wiki.archlinux.org/index.php/Arch_UseRepository).
+ * jq 1.4 is in the official [Debian](https://packages.debian.org/jq) and
+ [Ubuntu](http://packages.ubuntu.com/jq) repositories. Install using
+ `sudo apt-get install jq`.
+
* jq 1.4 is [in Debian](http://packages.debian.org/jq)
* jq 1.3.2 is in the official Fedora repository. You can install using
To build it from a git clone, you'll need to install a few
packages first:
- * [Flex](http://www.gnu.org/software/flex/)
- * [Bison](http://www.gnu.org/software/bison/)
- * [GCC](http://gcc.gnu.org)
- * [Make](http://www.gnu.org/software/make)
- * [Autotools](http://www.gnu.org/software/automake)
+ * [Flex](http://flex.sourceforge.net/)
+ * [Bison](https://www.gnu.org/software/bison/)
+ * [GCC](https://gcc.gnu.org)
+ * [Make](https://www.gnu.org/software/make/)
+ * [Autotools](https://www.gnu.org/software/automake/)
For Linux systems, these will all be in your system's package
manager, and if you do development on the machine they're most
likely already installed.
- On OS X, these are all included in Apple's command line tools, which
- can be installed from [Xcode](http://developer.apple.com/technologies/tools/).
- However, you may find that you need a newer version of Bison than the one provided
- by Apple. This can be found in [Homebrew](http://mxcl.github.com/homebrew/)
- or [MacPorts](http://macports.org/).
+ On OS X, these are all included in Apple's command line tools, which can
+ be installed from [Xcode](https://developer.apple.com/xcode/). However,
+ you may find that you need a newer version of Bison than the one provided
+ by Apple. This can be found in [Homebrew](http://brew.sh) or
+ [MacPorts](https://macports.org/).
`flex` and `bison` are used to generate the lexer and parser for
jq. For jq 1.5, neither is required if you use `./configure
escaped. However, all interpolations made inside that string
literal will be escaped. For instance,
- @uri "http://www.google.com/search?q=\(.search)"
+ @uri "https://www.google.com/search?q=\(.search)"
will produce the following output for the input
`{"search":"what is jq?"}`:
- "http://www.google.com/search?q=what%20is%20jq%3F"
+ "https://www.google.com/search?q=what%20is%20jq%3F"
Note that the slashes, question mark, etc. in the URL are
not escaped, as they were part of the string literal.
escaped. However, all interpolations made inside that string
literal will be escaped. For instance,
- @uri "http://www.google.com/search?q=\(.search)"
+ @uri "https://www.google.com/search?q=\(.search)"
will produce the following output for the input
`{"search":"jq!"}`:
- http://www.google.com/search?q=jq%21
+ https://www.google.com/search?q=jq%21
Note that the slashes, question mark, etc. in the URL are
not escaped, as they were part of the string literal.
escaped. However, all interpolations made inside that string
literal will be escaped. For instance,
- @uri "http://www.google.com/search?q=\(.search)"
+ @uri "https://www.google.com/search?q=\(.search)"
will produce the following output for the input
`{"search":"what is jq?"}`:
- "http://www.google.com/search?q=what%20is%20jq%3f"
+ "https://www.google.com/search?q=what%20is%20jq%3f"
Note that the slashes, question mark, etc. in the URL are
not escaped, as they were part of the string literal.
tail: |
Go read the [tutorial](tutorial/) for more, or the [manual](manual/)
- for *way* more. Ask questions over on
- [stackoverflow](http://stackoverflow.com/) using the [jq
- tag](http://stackoverflow.com/questions/tagged/jq), or on the
- [#jq](http://irc.lc/freenode/%23jq/) channel over on
+ for *way* more.
+
+ Ask questions on [stackoverflow](https://stackoverflow.com/) using the [jq
+ tag](https://stackoverflow.com/questions/tagged/jq), or on the
+ [#jq](http://irc.lc/freenode/%23jq/) channel on
[Freenode](https://webchat.freenode.net/).
news:
This version of `jq` was built without a manual, so this manpage is a
stub. For full documentation of the `jq` language, see:
- http://stedolan.github.io/jq
-
+ https://stedolan.github.io/jq
+
## BUGS
Presumably. Report them or discuss them at:
</div>
<div class="btn-group" style="float:right">
- <a class="btn btn-primary" href="http://jqplay.org">
+ <a class="btn btn-primary" href="https://jqplay.org">
Try online at jqplay.org!
</a>
</div>
{% endfor %}
<li><a href="https://github.com/stedolan/jq/issues">Issues</a></li>
<li><a href="https://github.com/stedolan/jq">Source</a></li>
- <li><a href="http://jqplay.org">Try online!</a></li>
+ <li><a href="https://jqplay.org">Try online!</a></li>
<li><a href="https://raw.githubusercontent.com/stedolan/jq/master/NEWS">News</a></li>
</ul>
</div>
.\" generated with Ronn/v0.7.3
.\" http://github.com/rtomayko/ronn/tree/0.7.3
.
-.TH "JQ" "1" "May 2013" "" ""
+.TH "JQ" "1" "August 2015" "" ""
.
.SH "NAME"
\fBjq\fR \- Command\-line JSON processor
.
.nf
-http://stedolan\.github\.com/jq
+https://stedolan\.github\.io/jq
.
.fi
.
Version: %{myver}
Release: %{myrel}%{?dist}
Source0: jq-%{myver}.tar.gz
-URL: http://stedolan.github.io/jq
+URL: https://stedolan.github.io/jq
License: BSD
AutoReqProv: no
#BuildPrereq: autoconf, libtool, automake, flex, bison, python
#define COL(c) (ESC "[" c "m")
#define COLRESET (ESC "[0m")
-// Colour table. See http://en.wikipedia.org/wiki/ANSI_escape_code#Colors
+// Colour table. See https://en.wikipedia.org/wiki/ANSI_escape_code#Colors
// for how to choose these.
static const jv_kind colour_kinds[] =
{JV_KIND_NULL, JV_KIND_FALSE, JV_KIND_TRUE, JV_KIND_NUMBER,
"\tcopying jq's input to its output unmodified (except for\n"
"\tformatting).\n"
"\tFor more advanced filters see the jq(1) manpage (\"man jq\")\n"
- "\tand/or http://stedolan.github.io/jq\n\n"
+ "\tand/or https://stedolan.github.io/jq\n\n"
"\tSome of the options include:\n"
"\t -c\t\tcompact instead of pretty-printed output;\n"
"\t -n\t\tuse `null` as the single input value;\n"
static void die() {
fprintf(stderr, "Use %s --help for help with command-line options,\n", progname);
- fprintf(stderr, "or see the jq manpage, or online docs at http://stedolan.github.io/jq\n");
+ fprintf(stderr, "or see the jq manpage, or online docs at https://stedolan.github.io/jq\n");
exit(2);
}