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

Use https where possible

This commit is contained in:
David Tolnay
2015-08-15 12:07:00 -07:00
parent 2306795864
commit 8f55d6d4ab
16 changed files with 31 additions and 31 deletions

View File

@@ -25,7 +25,7 @@ jq's documentation (everything found under the docs/ subdirectory in
the source tree) is licensed under the Creative Commons CC BY 3.0 the source tree) is licensed under the Creative Commons CC BY 3.0
license, which can be found at: 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 The documentation website includes a copy of Twitter's Boostrap and
relies on Bonsai, Liquid templates and various other projects, look relies on Bonsai, Liquid templates and various other projects, look

View File

@@ -4,13 +4,13 @@ jq
jq is a command-line JSON processor. jq is a command-line JSON processor.
If you want to learn to use jq, read the documentation at 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. 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 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 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 Source tarball and built executable releases can be found on the
homepage and on the github release page, https://github.com/stedolan/jq/releases homepage and on the github release page, https://github.com/stedolan/jq/releases
@@ -61,4 +61,4 @@ Cross-compilation requires a clean workspace, then:
Use the --host= and --target= ./configure options to select a Use the --host= and --target= ./configure options to select a
cross-compilation environment. See also the wiki. 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/).

View File

@@ -1,7 +1,7 @@
m4_define([jq_version], m4_esyscmd_s([git describe --tags --dirty --match 'jq-*'|sed 's/^jq-//'])) 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], 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_compare_version.m4])
m4_include([m4/ax_prog_bison_version.m4]) m4_include([m4/ax_prog_bison_version.m4])

View File

@@ -13,7 +13,7 @@ RVM and Ruby 1.9.3 like so:
After that finishes installing, you'll need to make sure RVM is on 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 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 Once RVM is installed, you can install all the dependencies for jq's
documentation build by running this from the `docs` directory: documentation build by running this from the `docs` directory:

View File

@@ -16,7 +16,7 @@ body:
### Linux ### Linux
* jq 1.4 is in the official [Debian](http://packages.debian.org/jq) and * jq 1.4 is in the official [Debian](https://packages.debian.org/jq) and
[Ubuntu](http://packages.ubuntu.com/jq) repositories. Install using [Ubuntu](http://packages.ubuntu.com/jq) repositories. Install using
`sudo apt-get install jq`. `sudo apt-get install jq`.
@@ -58,7 +58,7 @@ body:
### Solaris ### Solaris
* `pkgutil -i jq` in [OpenCSW](http://www.opencsw.org/p/jq) for Solaris * `pkgutil -i jq` in [OpenCSW](https://www.opencsw.org/p/jq) for Solaris
10+, Sparc and x86. 10+, Sparc and x86.
* jq 1.4 binaries for Solaris 11 * jq 1.4 binaries for Solaris 11
@@ -107,10 +107,10 @@ body:
packages first: packages first:
* [Flex](http://flex.sourceforge.net/) * [Flex](http://flex.sourceforge.net/)
* [Bison](http://www.gnu.org/software/bison/) * [Bison](https://www.gnu.org/software/bison/)
* [GCC](http://gcc.gnu.org) * [GCC](https://gcc.gnu.org)
* [Make](http://www.gnu.org/software/make/) * [Make](https://www.gnu.org/software/make/)
* [Autotools](http://www.gnu.org/software/automake/) * [Autotools](https://www.gnu.org/software/automake/)
For Linux systems, these will all be in your system's package For Linux systems, these will all be in your system's package
manager, and if you do development on the machine they're most manager, and if you do development on the machine they're most
@@ -120,7 +120,7 @@ body:
be installed from [Xcode](https://developer.apple.com/xcode/). However, 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 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 by Apple. This can be found in [Homebrew](http://brew.sh) or
[MacPorts](http://macports.org/). [MacPorts](https://macports.org/).
Flex and Bison are used to generate the lexer and parser for jq. For jq Flex and Bison are used to generate the lexer and parser for jq. For jq
1.5, neither is required if you use `./configure 1.5, neither is required if you use `./configure

View File

@@ -1697,12 +1697,12 @@ sections:
escaped. However, all interpolations made inside that string escaped. However, all interpolations made inside that string
literal will be escaped. For instance, 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 will produce the following output for the input
`{"search":"what is jq?"}`: `{"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 Note that the slashes, question mark, etc. in the URL are
not escaped, as they were part of the string literal. not escaped, as they were part of the string literal.

View File

@@ -857,12 +857,12 @@ sections:
escaped. However, all interpolations made inside that string escaped. However, all interpolations made inside that string
literal will be escaped. For instance, 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 will produce the following output for the input
`{"search":"jq!"}`: `{"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 Note that the slashes, question mark, etc. in the URL are
not escaped, as they were part of the string literal. not escaped, as they were part of the string literal.

View File

@@ -1259,12 +1259,12 @@ sections:
escaped. However, all interpolations made inside that string escaped. However, all interpolations made inside that string
literal will be escaped. For instance, 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 will produce the following output for the input
`{"search":"what is jq?"}`: `{"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 Note that the slashes, question mark, etc. in the URL are
not escaped, as they were part of the string literal. not escaped, as they were part of the string literal.

View File

@@ -27,8 +27,8 @@ tail: |
Go read the [tutorial](tutorial/) for more, or the [manual](manual/) Go read the [tutorial](tutorial/) for more, or the [manual](manual/)
for *way* more. for *way* more.
Ask questions on [stackoverflow](http://stackoverflow.com/) using the [jq Ask questions on [stackoverflow](https://stackoverflow.com/) using the [jq
tag](http://stackoverflow.com/questions/tagged/jq), or on the tag](https://stackoverflow.com/questions/tagged/jq), or on the
[#jq](http://irc.lc/freenode/%23jq/) channel on [#jq](http://irc.lc/freenode/%23jq/) channel on
[Freenode](https://webchat.freenode.net/). [Freenode](https://webchat.freenode.net/).

View File

@@ -9,7 +9,7 @@ reducing and otherwise mangling JSON documents.
This version of `jq` was built without a manual, so this manpage is a This version of `jq` was built without a manual, so this manpage is a
stub. For full documentation of the `jq` language, see: stub. For full documentation of the `jq` language, see:
http://stedolan.github.io/jq https://stedolan.github.io/jq
## BUGS ## BUGS

View File

@@ -36,7 +36,7 @@
</div> </div>
<div class="btn-group"> <div class="btn-group">
<a class="btn btn-primary" href="http://jqplay.org"> <a class="btn btn-primary" href="https://jqplay.org">
Try online at jqplay.org! Try online at jqplay.org!
</a> </a>
</div> </div>

View File

@@ -19,7 +19,7 @@
{% endfor %} {% endfor %}
<li><a href="https://github.com/stedolan/jq/issues">Issues</a></li> <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="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> <li><a href="https://raw.githubusercontent.com/stedolan/jq/master/NEWS">News</a></li>
</ul> </ul>
</div> </div>

View File

@@ -1,7 +1,7 @@
.\" generated with Ronn/v0.7.3 .\" generated with Ronn/v0.7.3
.\" http://github.com/rtomayko/ronn/tree/0.7.3 .\" http://github.com/rtomayko/ronn/tree/0.7.3
. .
.TH "JQ" "1" "May 2013" "" "" .TH "JQ" "1" "August 2015" "" ""
. .
.SH "NAME" .SH "NAME"
\fBjq\fR \- Command\-line JSON processor \fBjq\fR \- Command\-line JSON processor
@@ -16,7 +16,7 @@ This version of \fBjq\fR was built without a manual, so this manpage is a stub\.
. .
.nf .nf
http://stedolan\.github\.com/jq https://stedolan\.github\.io/jq
. .
.fi .fi
. .

View File

@@ -5,7 +5,7 @@ Name: jq
Version: %{myver} Version: %{myver}
Release: %{myrel}%{?dist} Release: %{myrel}%{?dist}
Source0: jq-%{myver}.tar.gz Source0: jq-%{myver}.tar.gz
URL: http://stedolan.github.io/jq URL: https://stedolan.github.io/jq
License: BSD License: BSD
AutoReqProv: no AutoReqProv: no
#BuildPrereq: autoconf, libtool, automake, flex, bison, python #BuildPrereq: autoconf, libtool, automake, flex, bison, python

View File

@@ -17,7 +17,7 @@
#define COL(c) (ESC "[" c "m") #define COL(c) (ESC "[" c "m")
#define COLRESET (ESC "[0m") #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. // for how to choose these.
static const jv_kind colour_kinds[] = static const jv_kind colour_kinds[] =
{JV_KIND_NULL, JV_KIND_FALSE, JV_KIND_TRUE, JV_KIND_NUMBER, {JV_KIND_NULL, JV_KIND_FALSE, JV_KIND_TRUE, JV_KIND_NUMBER,

4
main.c
View File

@@ -48,7 +48,7 @@ static void usage(int code) {
"\tcopying jq's input to its output unmodified (except for\n" "\tcopying jq's input to its output unmodified (except for\n"
"\tformatting).\n" "\tformatting).\n"
"\tFor more advanced filters see the jq(1) manpage (\"man jq\")\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" "\tSome of the options include:\n"
"\t -c\t\tcompact instead of pretty-printed output;\n" "\t -c\t\tcompact instead of pretty-printed output;\n"
"\t -n\t\tuse `null` as the single input value;\n" "\t -n\t\tuse `null` as the single input value;\n"
@@ -69,7 +69,7 @@ static void usage(int code) {
static void die() { static void die() {
fprintf(stderr, "Use %s --help for help with command-line options,\n", progname); 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); exit(2);
} }