1
0
mirror of https://github.com/taigrr/yq synced 2025-01-18 04:53:17 -08:00

Removed dud instructions

This commit is contained in:
Mike Farah
2018-05-07 16:26:02 +10:00
parent 56a0771cd1
commit c5a45ba7d5
3 changed files with 1 additions and 43 deletions

View File

@@ -43,18 +43,6 @@ will output
- apples
```
### Handling '.' in the yaml key
Given a sample.yaml file of:
```yaml
b.x:
c: 2
```
then
```bash
yq r sample.yaml \"b.x\".c
```
will output the value of '2'.
### Arrays
You can give an index to access a specific element:
e.g.: given a sample file of