Skip to content

Commit 1e27e39

Browse files
committed
Fixing typos (prefer UK english)
1 parent 5126f3d commit 1e27e39

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

how-it-works.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ with an expression:
1919
.a = .b
2020
```
2121

22-
Like math expression - operator precedence is important.
22+
Like math expressions - operator precedence is important.
2323

2424
The `=` operator takes two arguments, a `lhs` expression, which in this case is `.a` and `rhs` expression which is `.b`.
2525

@@ -47,7 +47,7 @@ b: dog
4747
4848
## Complex assignment, operator precedence rules
4949
50-
Just like math expression - `yq` expression have an order of precedence. The pipe `|` operator has a low order of precedence, so operators with higher precedence will get evaluated first.
50+
Just like math expressions - `yq` expressions have an order of precedence. The pipe `|` operator has a low order of precedence, so operators with higher precedence will get evaluated first.
5151

5252
Most of the time, this is intuitively what you'd want, for instance `.a = "cat" | .b = "dog"` is effectively: `(.a = "cat") | (.b = "dog")`.
5353

pkg/yqlib/doc/operators/anchor-and-alias-operators.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Anchor and Alias Operators
22

3-
Use the `alias` and `anchor` operators to read and write yaml aliases and anchors. The `explode` operator normalizes a yaml file (dereference (or expands) aliases and remove anchor names).
3+
Use the `alias` and `anchor` operators to read and write yaml aliases and anchors. The `explode` operator normalises a yaml file (dereference (or expands) aliases and remove anchor names).
44

55
`yq` supports merge aliases (like `<<: *blah`) however this is no longer in the standard yaml spec (1.2) and so `yq` will automatically add the `!!merge` tag to these nodes as it is effectively a custom tag.
66

pkg/yqlib/doc/operators/eval.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Use `eval` to dynamically process an expression - for instance from an environme
44

55
`eval` takes a single argument, and evaluates that as a `yq` expression. Any valid expression can be used, beit a path `.a.b.c | select(. == "cat")`, or an update `.a.b.c = "gogo"`.
66

7-
Tip: This can be useful way parameterize complex scripts.
7+
Tip: This can be useful way parameterise complex scripts.
88

99
{% hint style="warning" %}
1010
Note that versions prior to 4.18 require the 'eval/e' command to be specified.&#x20;
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Anchor and Alias Operators
22

3-
Use the `alias` and `anchor` operators to read and write yaml aliases and anchors. The `explode` operator normalizes a yaml file (dereference (or expands) aliases and remove anchor names).
3+
Use the `alias` and `anchor` operators to read and write yaml aliases and anchors. The `explode` operator normalises a yaml file (dereference (or expands) aliases and remove anchor names).
44

55
`yq` supports merge aliases (like `<<: *blah`) however this is no longer in the standard yaml spec (1.2) and so `yq` will automatically add the `!!merge` tag to these nodes as it is effectively a custom tag.
66

pkg/yqlib/doc/operators/headers/eval.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ Use `eval` to dynamically process an expression - for instance from an environme
44

55
`eval` takes a single argument, and evaluates that as a `yq` expression. Any valid expression can be used, beit a path `.a.b.c | select(. == "cat")`, or an update `.a.b.c = "gogo"`.
66

7-
Tip: This can be useful way parameterize complex scripts.
7+
Tip: This can be useful way parameterise complex scripts.

0 commit comments

Comments
 (0)