How to parse and use the YAML file in bash/shell script Create this function: function parse_yaml { local prefix=$2 local s='[[:space:]]*' w='[a-zA-Z0-9_]*' fs=$(echo @|tr @ '\034') sed -ne "s|^\($s\):|\1|" \ -e "s|^\($s\)\($w\)$s...
esli.blog.br1 min read
No responses yet.