summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlanscut <wp_scut@163.com>2019-12-17 19:29:04 +0800
committerNico Williams <nico@cryptonector.com>2020-01-02 10:52:12 -0600
commitfa3733cc4c001106847d2591f00abd401ce3e940 (patch)
tree7f061d968dff0a5c7de2e5c5fa6ef75d475def80
parent82987df98dc03d95a58363731a647520283071cd (diff)
fix typos
-rw-r--r--docs/content/manual/v1.3/manual.yml2
-rw-r--r--docs/content/manual/v1.4/manual.yml2
-rw-r--r--docs/content/manual/v1.6/manual.yml2
-rw-r--r--src/builtin.c2
-rw-r--r--src/decNumber/decNumberLocal.h2
5 files changed, 5 insertions, 5 deletions
diff --git a/docs/content/manual/v1.3/manual.yml b/docs/content/manual/v1.3/manual.yml
index 4153baec..b2e387d7 100644
--- a/docs/content/manual/v1.3/manual.yml
+++ b/docs/content/manual/v1.3/manual.yml
@@ -420,7 +420,7 @@ sections:
body: |
As well as normal arithmetic subtraction on numbers, the `-`
- operator can be used on arrays to remove all occurences of
+ operator can be used on arrays to remove all occurrences of
the second array's elements from the first array.
examples:
diff --git a/docs/content/manual/v1.4/manual.yml b/docs/content/manual/v1.4/manual.yml
index 2763a0d9..206bf2e1 100644
--- a/docs/content/manual/v1.4/manual.yml
+++ b/docs/content/manual/v1.4/manual.yml
@@ -517,7 +517,7 @@ sections:
body: |
As well as normal arithmetic subtraction on numbers, the `-`
- operator can be used on arrays to remove all occurences of
+ operator can be used on arrays to remove all occurrences of
the second array's elements from the first array.
examples:
diff --git a/docs/content/manual/v1.6/manual.yml b/docs/content/manual/v1.6/manual.yml
index 639afc17..27b7f55f 100644
--- a/docs/content/manual/v1.6/manual.yml
+++ b/docs/content/manual/v1.6/manual.yml
@@ -300,7 +300,7 @@ sections:
jq doesn't truncate the literal numbers to double unless there
is a need to make arithmetic operations with the number.
- Comparisions are carried out over the untruncated big decimal
+ Comparisons are carried out over the untruncated big decimal
representation of the number.
jq will also try to maintain the original decimal precision of the provided
diff --git a/src/builtin.c b/src/builtin.c
index b67f9c8d..139bdfe6 100644
--- a/src/builtin.c
+++ b/src/builtin.c
@@ -970,7 +970,7 @@ static jv f_match(jq_state *jq, jv input, jv regex, jv modifiers, jv testmode) {
}
#else /* !HAVE_LIBONIG */
static jv f_match(jq_state *jq, jv input, jv regex, jv modifiers, jv testmode) {
- return jv_invalid_with_msg(jv_string("jq was compiled without ONIGURUMA regex libary. match/test/sub and related functions are not available."));
+ return jv_invalid_with_msg(jv_string("jq was compiled without ONIGURUMA regex library. match/test/sub and related functions are not available."));
}
#endif /* HAVE_LIBONIG */
diff --git a/src/decNumber/decNumberLocal.h b/src/decNumber/decNumberLocal.h
index 5c88a5ea..784438cb 100644
--- a/src/decNumber/decNumberLocal.h
+++ b/src/decNumber/decNumberLocal.h
@@ -174,7 +174,7 @@
/* ---------------------------------------------------------------- */
- /* Definitions for arbitary-precision modules (only valid after */
+ /* Definitions for arbitrary-precision modules (only valid after */
/* decNumber.h has been included) */
/* ---------------------------------------------------------------- */