yqcan split out the results into multiple files with the
--split-exp/sflag. You will need to give this flag an expression (that returns a string), this will be used as the filename for each result. In this expression, you can use
$indexto represent the result index in the name, if desired.
---), then run with the
$indexfor the filename. Note that this variable is only defined for the