yq/pkg/yqlib/doc/headers/Recursive Descent Operator.md
2020-11-18 09:50:52 +11:00

296 B

This operator recursively matches all children nodes given of a particular element, including that node itself. This is most often used to apply a filter recursively against all matches, for instance to set the style of all nodes in a yaml doc:

yq eval '.. style= "flow"' file.yaml