4 # Copyright 2014, Juniper Networks, Inc.
6 # This SOFTWARE is licensed under the LICENSE provided in the
7 # ../Copyright file. By downloading, installing, copying, or otherwise
8 # using the SOFTWARE, you agree to be bound by the terms of that
14 XOP="${XO} --warn --depth 1 --leading-xpath /top"
19 for i in one:1:red two:2:blue three:3:green four:4:yellow ; do
20 set `echo $i | sed 's/:/ /g'`
21 ${XOP} ${NF} --wrap item \
22 'Item {k:name} is {Lw:number}{:value/%03d/%d}, {Lwc:color}{:color}\n' \