diff options
Diffstat (limited to 'examples/sel-xpath-m')
-rw-r--r-- | examples/sel-xpath-m | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/examples/sel-xpath-m b/examples/sel-xpath-m new file mode 100644 index 0000000..cfe7786 --- /dev/null +++ b/examples/sel-xpath-m @@ -0,0 +1,6 @@ +#!/bin/sh +the_test() { + ./xmlstarlet sel --text -t -m "/*[boolean($1)]" -v "$1" --nl xml/foo.xml +} + +. "${srcdir-..}"/examples/foreach-xpath.sh |