]> git.droids-corp.org - protos/libecoli.git/blobdiff - examples/parse-yaml/parse-yaml.sh
rename structures and functions
[protos/libecoli.git] / examples / parse-yaml / parse-yaml.sh
index 9d5a680cfe19bd4338b99fccfb77160013aaf4ac..2c54cea481ab8a9706fa41e25e7170a66478a91c 100644 (file)
@@ -92,8 +92,8 @@ $parse_yaml -i $yaml -o $output || match=0
 if [ "$match" = "1" ]; then
        cat $output
        . $output
-       name=$(ec_parse_get_str $(ec_parse_find_first ec_node1 name) 0)
-       hello=$(ec_parse_get_str $(ec_parse_find_first ec_node1 hello) 0)
+       name=$(ec_pnode_get_str $(ec_pnode_find_first ec_node1 name) 0)
+       hello=$(ec_pnode_get_str $(ec_pnode_find_first ec_node1 hello) 0)
 
        if [ "$hello" != "" ]; then
                echo "$name says hello to you!"