Linux shell get value of a field from a yml file
There are better tools than sed. You might be stuck on a minimal system, but other people looking for an answer probably won’t be. The python version of yq acts like jq: $ pip3 install yq $ yq -r .test.database database.yml sample shyaml works too, but has an odd restriction that you can only redirect … Read more