summaryrefslogtreecommitdiff
path: root/examples/sel-literal
diff options
context:
space:
mode:
Diffstat (limited to 'examples/sel-literal')
-rw-r--r--examples/sel-literal6
1 files changed, 6 insertions, 0 deletions
diff --git a/examples/sel-literal b/examples/sel-literal
new file mode 100644
index 0000000..ee78448
--- /dev/null
+++ b/examples/sel-literal
@@ -0,0 +1,6 @@
+#!/bin/sh
+the_test() {
+ ./xmlstarlet sel --text -t -m /doc -o "$1" --nl xml/foo.xml
+}
+
+. "${srcdir-..}"/examples/foreach-literal.sh