/usr/share/doc/xmlstarlet/examples/sel-xpath-m is in xmlstarlet 1.6.1-2.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 | #!/bin/sh
the_test() {
./xmlstarlet sel --text -t -m "/*[boolean($1)]" -v "$1" --nl xml/foo.xml
}
. "${srcdir-..}"/examples/foreach-xpath.sh
|