summaryrefslogtreecommitdiff
path: root/examples/sel-xpath-i
diff options
context:
space:
mode:
authorjk7744.park <jk7744.park@samsung.com>2015-09-08 22:07:42 +0900
committerjk7744.park <jk7744.park@samsung.com>2015-09-08 22:07:42 +0900
commit4732847654ed74ed893b7ea088805832fd91cc18 (patch)
tree393207d68983c3b587733b83714bef2de2457025 /examples/sel-xpath-i
downloadxmlstarlet-tizen_2.4.tar.gz
xmlstarlet-tizen_2.4.tar.bz2
xmlstarlet-tizen_2.4.zip
Diffstat (limited to 'examples/sel-xpath-i')
-rw-r--r--examples/sel-xpath-i6
1 files changed, 6 insertions, 0 deletions
diff --git a/examples/sel-xpath-i b/examples/sel-xpath-i
new file mode 100644
index 0000000..ad3cba2
--- /dev/null
+++ b/examples/sel-xpath-i
@@ -0,0 +1,6 @@
+#!/bin/sh
+the_test() {
+ ./xmlstarlet sel --text -t -i "$1" -v "$1" --nl xml/foo.xml
+}
+
+. "${srcdir-..}"/examples/foreach-xpath.sh