yq
yq copied to clipboard
yq is a portable command-line YAML, JSON, XML, CSV, TOML and properties processor
**Describe the bug** When evaluating an expression that contains spaces against a yaml file, escaping the spaces do not work in Windows CMD or in Powershell. However, when evaluating the...
**Describe the bug** The v4 of yq could not be found in ppa repo below: https://launchpad.net/~rmescandon/+archive/ubuntu/yq The ppa repo should be updated to include v4. **Command** In ubuntu20.04, after adding...
**Describe the bug** ```Error: yaml: control characters are not allowed``` e.g. `\x01` `\x02` Version of yq: 4.9.3 Operating system: linux Installed via: binary release Seems related: https://stackoverflow.com/questions/33717799/go-yaml-control-characters-are-not-allowed-error
```bash $ yq -V yq version 4.7.0 ``` The way yq v4 handles emoji is odd, inconsistent, unpredictable (which did not occur on earlier yq 2x versions which had other...
yq operate the yaml file, some emoji will change. like: before: 🛑 STOP after: \U0001F6D1 STOP
**Describe the bug** When setting headComment, the comment is added after the field or inside the object instead of being prepended above the field. Version of yq: 4.7.0 (also failed...
**Describe the bug** `yq w -1` command removes blank lines and changes spacing before comments. **Input Yaml** Concise yaml document(s) (as simple as possible to show the bug) data1.yml: ```yaml...
**Describe the bug** `yq w -i test.yaml "spec.template.spec.containers[0].image" jupyter/datascience-notebook:1` wraps long line. I expected that it does not touch anything aside from the given path. Thank you for taking the...
**Describe the bug** YQ gives invalid/useless error description while processing an invalid yaml document. version of yq: ```shell $ yq -V yq version 3.4.0 ``` operating system: linux amd64, the...
**Describe the bug** When appending to array an extra newline is appended before the new element _if the last element in the array is commented out at the indentation level...