Computes the maximum among an incoming sequence of scalar values.
Given a sample.yml file of:
- 99 - 16 - 12 - 6 - 66
then
yq 'max' sample.yml
will output
99
- foo - bar - baz
Last updated 2 years ago
Was this helpful?
foo
[]