Fix misspellings (#2609)
This commit is contained in:
1 parent
bd86ca3002
commit
5cebe86a7b
15 files changed
+43
-43
No files matched your search
@@ -1915,7 +1915,7 @@ sections:
|
||||
|
||||
The `gmtime` builtin consumes a number of seconds since the
|
||||
Unix epoch and outputs a "broken down time" representation of
|
||||
Greenwhich Meridian time as an array of numbers representing
|
||||
Greenwich Mean Time as an array of numbers representing
|
||||
(in this order): the year, the month (zero-based), the day of
|
||||
the month (one-based), the hour of the day, the minute of the
|
||||
hour, the second of the minute, the day of the week, and the
|
||||
@@ -2014,8 +2014,8 @@ sections:
|
||||
The expression 'a == b' will produce 'true' if the result of a and b
|
||||
are equal (that is, if they represent equivalent JSON documents) and
|
||||
'false' otherwise. In particular, strings are never considered equal
|
||||
to numbers. If you're coming from Javascript, jq's == is like
|
||||
Javascript's === - considering values equal only when they have the
|
||||
to numbers. If you're coming from JavaScript, jq's == is like
|
||||
JavaScript's === - considering values equal only when they have the
|
||||
same type as well as the same value.
|
||||
|
||||
!= is "not equal", and 'a != b' returns the opposite value of 'a == b'
|
||||
@@ -2033,7 +2033,7 @@ sections:
|
||||
as `C` otherwise.
|
||||
|
||||
Checking for false or null is a simpler notion of
|
||||
"truthiness" than is found in Javascript or Python, but it
|
||||
"truthiness" than is found in JavaScript or Python, but it
|
||||
means that you'll sometimes have to be more explicit about
|
||||
the condition you want: you can't test whether, e.g. a
|
||||
string is empty using `if .name then A else B end`, you'll
|
||||
@@ -2972,7 +2972,7 @@ sections:
|
||||
and you append something to `.foo`, then `.bar` will not get
|
||||
bigger, even if you've previously set `.bar = .foo`. If you're
|
||||
used to programming in languages like Python, Java, Ruby,
|
||||
Javascript, etc. then you can think of it as though jq does a full
|
||||
JavaScript, etc. then you can think of it as though jq does a full
|
||||
deep copy of every object before it does the assignment (for
|
||||
performance it doesn't actually do that, but that's the general
|
||||
idea).
|
||||
|
||||
Reference in new issue
Block a user