summaryrefslogtreecommitdiff
path: root/examples/foreach-xpath.sh
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/foreach-xpath.sh
downloadxmlstarlet-tizen_2.4.tar.gz
xmlstarlet-tizen_2.4.tar.bz2
xmlstarlet-tizen_2.4.zip
Diffstat (limited to 'examples/foreach-xpath.sh')
-rw-r--r--examples/foreach-xpath.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/examples/foreach-xpath.sh b/examples/foreach-xpath.sh
new file mode 100644
index 0000000..62af650
--- /dev/null
+++ b/examples/foreach-xpath.sh
@@ -0,0 +1,8 @@
+#!/bin/sh
+the_test "'abc'"
+the_test \"a\'c\"
+the_test \'a\"c\'
+the_test 'concat("a'\''", '\'\"c\'\)
+the_test 'concat('\'\"\',\ \"\'a\'b\",\ \'\"\"\'\)
+the_test 'concat("!@#$%^&*()_+-=~`\|'\'\",\''";:/?.>,<[]{}'\'\)
+the_test '"]]>"'