summaryrefslogtreecommitdiff
path: root/examples/sel-root
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-root
downloadxmlstarlet-submit/tizen_2.3.1/20150915.075556.tar.gz
xmlstarlet-submit/tizen_2.3.1/20150915.075556.tar.bz2
xmlstarlet-submit/tizen_2.3.1/20150915.075556.zip
Diffstat (limited to 'examples/sel-root')
-rw-r--r--examples/sel-root5
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/sel-root b/examples/sel-root
new file mode 100644
index 0000000..12a9bb2
--- /dev/null
+++ b/examples/sel-root
@@ -0,0 +1,5 @@
+#!/bin/sh
+echo '<x/>' | ./xmlstarlet sel --root -t -c / | ./xmlstarlet c14n
+echo
+echo '<x/>' | ./xmlstarlet sel --root -t -c / -t -c / | ./xmlstarlet c14n
+echo