yq/pkg/yqlib/doc/String Operators.md
2021-01-14 14:46:50 +11:00

183 B

Join strings

Given a sample.yml file of:

- cat
- meow
- 1
- null
- true

then

yq eval 'join("; ")' sample.yml

will output

cat; meow; 1; ; true