From fa3733cc4c001106847d2591f00abd401ce3e940 Mon Sep 17 00:00:00 2001 From: Alanscut Date: Tue, 17 Dec 2019 19:29:04 +0800 Subject: fix typos --- docs/content/manual/v1.3/manual.yml | 2 +- docs/content/manual/v1.4/manual.yml | 2 +- docs/content/manual/v1.6/manual.yml | 2 +- src/builtin.c | 2 +- src/decNumber/decNumberLocal.h | 2 +- 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) */ /* ---------------------------------------------------------------- */ -- cgit v1.2.3