summaryrefslogtreecommitdiff
path: root/examples/N-order
blob: a2449985ef9220c3d3db766c26be8f9e42272591 (plain)
1
2
3
4
#!/bin/sh
# make sure -N after other option is allowed
./xmlstarlet sel -T -N n=n -t -v /n:x xml/foo.xml 2>&1 >/dev/null
./xmlstarlet ed -P -N n=n -d /n:x xml/foo.xml 2>&1 >/dev/null