This operator is used to combine different results together.
Running
yq --null-input '1, true, "cat"'
will output
1 true cat
Given a sample.yml file of:
a: fieldA b: fieldB c: fieldC
then
yq '.a, .c' sample.yml
fieldA fieldC
Last updated 3 years ago