X-Git-Url: http://git.droids-corp.org/?p=protos%2Flibecoli.git;a=blobdiff_plain;f=examples%2Fparse-yaml%2Fparse-yaml.sh;fp=examples%2Fparse-yaml%2Fparse-yaml.sh;h=2c54cea481ab8a9706fa41e25e7170a66478a91c;hp=9d5a680cfe19bd4338b99fccfb77160013aaf4ac;hb=984760622f2c8472fd2667e24bcceb543bdb1aff;hpb=ae32f7f2fd1bc44a5388e1984f7c96bc29d3fdc2 diff --git a/examples/parse-yaml/parse-yaml.sh b/examples/parse-yaml/parse-yaml.sh index 9d5a680..2c54cea 100644 --- a/examples/parse-yaml/parse-yaml.sh +++ b/examples/parse-yaml/parse-yaml.sh @@ -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!"