Skip to content

Commit c1640fb

Browse files
committed
Removing old version notice
1 parent 0c33690 commit c1640fb

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+0
-330
lines changed

pkg/yqlib/doc/notification-snippet.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +0,0 @@
1-
2-
{% hint style="warning" %}
3-
Note that versions prior to 4.18 require the 'eval/e' command to be specified. 
4-
5-
`yq e <exp> <file>`
6-
{% endhint %}

pkg/yqlib/doc/operators/add.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,6 @@ Add behaves differently according to the type of the LHS:
99
Use `+=` as a relative append assign for things like increment. Note that `.a += .x` is equivalent to running `.a = .a + .x`.
1010

1111

12-
{% hint style="warning" %}
13-
Note that versions prior to 4.18 require the 'eval/e' command to be specified.&#x20;
14-
15-
`yq e <exp> <file>`
16-
{% endhint %}
17-
1812
## Concatenate arrays
1913
Given a sample.yml file of:
2014
```yaml

pkg/yqlib/doc/operators/alternative-default-value.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,6 @@
22

33
This operator is used to provide alternative (or default) values when a particular expression is either null or false.
44

5-
{% hint style="warning" %}
6-
Note that versions prior to 4.18 require the 'eval/e' command to be specified.&#x20;
7-
8-
`yq e <exp> <file>`
9-
{% endhint %}
10-
115
## LHS is defined
126
Given a sample.yml file of:
137
```yaml

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

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,6 @@ Use the `alias` and `anchor` operators to read and write yaml aliases and anchor
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

77

8-
{% hint style="warning" %}
9-
Note that versions prior to 4.18 require the 'eval/e' command to be specified.&#x20;
10-
11-
`yq e <exp> <file>`
12-
{% endhint %}
13-
148
## Merge one map
159
see https://yaml.org/type/merge.html
1610

pkg/yqlib/doc/operators/assign-update.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,6 @@ This will do a similar thing to the plain form, however, the RHS expression is r
1212
### Flags
1313
- `c` clobber custom tags
1414

15-
{% hint style="warning" %}
16-
Note that versions prior to 4.18 require the 'eval/e' command to be specified.&#x20;
17-
18-
`yq e <exp> <file>`
19-
{% endhint %}
20-
2115
## Create yaml file
2216
Running
2317
```bash

pkg/yqlib/doc/operators/boolean-operators.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,6 @@ These are most commonly used with the `select` operator to filter particular nod
1616
- comparison (`>=`, `<` etc) operators [here](https://mikefarah.gitbook.io/yq/operators/compare)
1717
- select operator [here](https://mikefarah.gitbook.io/yq/operators/select)
1818

19-
{% hint style="warning" %}
20-
Note that versions prior to 4.18 require the 'eval/e' command to be specified.&#x20;
21-
22-
`yq e <exp> <file>`
23-
{% endhint %}
24-
2519
## `or` example
2620
Running
2721
```bash

pkg/yqlib/doc/operators/collect-into-array.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,6 @@
33
This creates an array using the expression between the square brackets.
44

55

6-
{% hint style="warning" %}
7-
Note that versions prior to 4.18 require the 'eval/e' command to be specified.&#x20;
8-
9-
`yq e <exp> <file>`
10-
{% endhint %}
11-
126
## Collect empty
137
Running
148
```bash

pkg/yqlib/doc/operators/column.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,6 @@
22

33
Returns the column of the matching node. Starts from 1, 0 indicates there was no column data.
44

5-
{% hint style="warning" %}
6-
Note that versions prior to 4.18 require the 'eval/e' command to be specified.&#x20;
7-
8-
`yq e <exp> <file>`
9-
{% endhint %}
10-
115
## Returns column of _value_ node
126
Given a sample.yml file of:
137
```yaml

pkg/yqlib/doc/operators/comment-operators.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,6 @@ This will assign the LHS nodes comments to the expression on the RHS. The RHS is
1010
### relative form: `|=`
1111
Similar to the plain form, however the RHS evaluates against each matching LHS node! This is useful if you want to set the comments as a relative expression of the node, for instance its value or path.
1212

13-
{% hint style="warning" %}
14-
Note that versions prior to 4.18 require the 'eval/e' command to be specified.&#x20;
15-
16-
`yq e <exp> <file>`
17-
{% endhint %}
18-
1913
## Set line comment
2014
Set the comment on the key node for more reliability (see below).
2115

pkg/yqlib/doc/operators/compare.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,6 @@ The following types are currently supported:
1414
- boolean operators (`and`, `or`, `any` etc) [here](https://mikefarah.gitbook.io/yq/operators/boolean-operators)
1515
- select operator [here](https://mikefarah.gitbook.io/yq/operators/select)
1616

17-
{% hint style="warning" %}
18-
Note that versions prior to 4.18 require the 'eval/e' command to be specified.&#x20;
19-
20-
`yq e <exp> <file>`
21-
{% endhint %}
22-
2317
## Compare numbers (>)
2418
Given a sample.yml file of:
2519
```yaml

0 commit comments

Comments
 (0)