summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author谭九鼎 <109224573@qq.com>2022-01-25 01:44:04 +0800
committerGitHub <noreply@github.com>2022-01-24 19:44:04 +0200
commit4c835b9fa9311f110a09e8f2cddd20367b0e49f1 (patch)
tree0c4ef139c897995cf48f7ff7a49eed59008dbee3
parentc49d9fa30143c9c4effcfa38b373e506383e829c (diff)
Use https for links (#293)
-rw-r--r--README.markdown6
-rwxr-xr-xbin/q.py4
-rw-r--r--doc/USAGE.markdown2
-rw-r--r--mkdocs/docs/index.md2
-rw-r--r--mkdocs/docs/index_cn.md2
-rw-r--r--mkdocs/mkdocs.yml4
6 files changed, 10 insertions, 10 deletions
diff --git a/README.markdown b/README.markdown
index 55cbe73..4d5edd5 100644
--- a/README.markdown
+++ b/README.markdown
@@ -20,7 +20,7 @@ The following table shows the impact of using caching:
Notice that for the current version, caching is **not enabled** by default, since the caches take disk space. Use `-C readwrite` or `-C read` to enable it for a query, or add `caching_mode` to `.qrc` to set a new default.
-q's web site is [http://harelba.github.io/q/](http://harelba.github.io/q/) or [https://q.textasdata.wiki](https://q.textasdata.wiki) It contains everything you need to download and use q immediately.
+q's web site is [https://harelba.github.io/q/](https://harelba.github.io/q/) or [https://q.textasdata.wiki](https://q.textasdata.wiki) It contains everything you need to download and use q immediately.
## Usage Examples
@@ -36,12 +36,12 @@ $ ps -ef | q -H "SELECT UID, COUNT(*) cnt FROM - GROUP BY UID ORDER BY cnt DESC
$ q "select count(*) from some_db.sqlite3:::albums a left join another_db.sqlite3:::tracks t on (a.album_id = t.album_id)"
```
-Detailed examples are in [here](http://harelba.github.io/q/#examples)
+Detailed examples are in [here](https://harelba.github.io/q/#examples)
## Installation.
**New Major Version `3.1.6` is out with a lot of significant additions.**
-Instructions for all OSs are [here](http://harelba.github.io/q/#installation).
+Instructions for all OSs are [here](https://harelba.github.io/q/#installation).
The previous version `2.0.19` Can still be downloaded from [here](https://github.com/harelba/q/releases/tag/2.0.19)
diff --git a/bin/q.py b/bin/q.py
index 31d10c1..2a2f677 100755
--- a/bin/q.py
+++ b/bin/q.py
@@ -23,7 +23,7 @@
#
# Its purpose is to bring SQL expressive power to manipulating text data using the Linux command line.
#
-# Full Documentation and details in http://harelba.github.io/q/
+# Full Documentation and details in https://harelba.github.io/q/
#
# Run with --help for command line details
#
@@ -2399,7 +2399,7 @@ def print_credentials():
print("q version %s" % q_version, file=sys.stderr)
print("Python: %s" % " // ".join([str(x).strip() for x in sys.version.split("\n")]), file=sys.stderr)
print("Copyright (C) 2012-2021 Harel Ben-Attia (harelba@gmail.com, @harelba on twitter)", file=sys.stderr)
- print("http://harelba.github.io/q/", file=sys.stderr)
+ print("https://harelba.github.io/q/", file=sys.stderr)
print(file=sys.stderr)
class QWarning(object):
diff --git a/doc/USAGE.markdown b/doc/USAGE.markdown
index a1a51d4..f075086 100644
--- a/doc/USAGE.markdown
+++ b/doc/USAGE.markdown
@@ -57,7 +57,7 @@ Any standard SQL expression, condition (both WHERE and HAVING), GROUP BY, ORDER
JOINs are supported and Subqueries are supported in the WHERE clause, but unfortunately not in the FROM clause for now. Use table aliases when performing JOINs.
-The SQL syntax itself is sqlite's syntax. For details look at http://www.sqlite.org/lang.html or search the net for examples.
+The SQL syntax itself is sqlite's syntax. For details look at https://www.sqlite.org/lang.html or search the net for examples.
**NOTE:** Full type detection is implemented, so there is no need for any casting or anything.
diff --git a/mkdocs/docs/index.md b/mkdocs/docs/index.md
index a3c55d9..f66fab6 100644
--- a/mkdocs/docs/index.md
+++ b/mkdocs/docs/index.md
@@ -303,7 +303,7 @@ Query/Input/Output encodings are fully supported (and q tries to provide out-of-
JOINs are supported and Subqueries are supported in the WHERE clause, but unfortunately not in the FROM clause for now. Use table aliases when performing JOINs.
-The SQL syntax itself is sqlite's syntax. For details look at http://www.sqlite.org/lang.html or search the net for examples.
+The SQL syntax itself is sqlite's syntax. For details look at https://www.sqlite.org/lang.html or search the net for examples.
NOTE: When using the `-O` output header option, use column name aliases if you want to control the output column names. For example, `q -O -H "select count(*) cnt,sum(*) as mysum from -"` would output `cnt` and `mysum` as the output header column names.
diff --git a/mkdocs/docs/index_cn.md b/mkdocs/docs/index_cn.md
index d17f48e..96cba77 100644
--- a/mkdocs/docs/index_cn.md
+++ b/mkdocs/docs/index_cn.md
@@ -82,7 +82,7 @@ q 的每一个参数都是由双引号包裹的一条完整的SQL语句。所有
在WHERE条件查询中,支持JOIN操作和子查询,但在FROM子句中并不支持。JOIN操作时,可以为文件起别名。
-SQL语法同sqlite的语法,详情见 http://www.sqlite.org/lang.html 或上网找一些示例。
+SQL语法同sqlite的语法,详情见 https://www.sqlite.org/lang.html 或上网找一些示例。
**注意**:
diff --git a/mkdocs/mkdocs.yml b/mkdocs/mkdocs.yml
index c21b5d2..473af88 100644
--- a/mkdocs/mkdocs.yml
+++ b/mkdocs/mkdocs.yml
@@ -1,6 +1,6 @@
site_name: q - Text as Data
-site_url: http://harelba.github.io/q/
-repo_url: http://github.com/harelba/q
+site_url: https://harelba.github.io/q/
+repo_url: https://github.com/harelba/q
edit_uri: ""
site_description: Text as Data - q is a command line tool that allows direct execution of SQL-like queries on CSVs/TSVs (and any other tabular text files).
site_author: Harel Ben-Attia