diff options
author | Sehong Na <sehong.na@samsung.com> | 2014-05-31 13:20:46 +0900 |
---|---|---|
committer | Sehong Na <sehong.na@samsung.com> | 2014-05-31 13:20:46 +0900 |
commit | 7122fb9745e4622cb4c5d340cf1557e2fda1efe3 (patch) | |
tree | 393207d68983c3b587733b83714bef2de2457025 /examples/sel-if | |
download | xmlstarlet-tizen_2.3.tar.gz xmlstarlet-tizen_2.3.tar.bz2 xmlstarlet-tizen_2.3.zip |
Initialize Tizen 2.3tizen_2.3_releasesubmit/tizen_2.3/20150202.060653submit/tizen_2.3/20140531.1148112.3a_releasetizen_2.3
Diffstat (limited to 'examples/sel-if')
-rw-r--r-- | examples/sel-if | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/sel-if b/examples/sel-if new file mode 100644 index 0000000..c6acd1d --- /dev/null +++ b/examples/sel-if @@ -0,0 +1,4 @@ +#!/bin/sh +echo '<x/>' | ./xmlstarlet sel -T -t -i 'true()' -o yes -n --else -o no -n -b -o all -n +echo '<x/>' | ./xmlstarlet sel -T -t -i 'false()' -o yes -n --else -o no -n -b -o all -n +echo '<x/>' | ./xmlstarlet sel -T -t -i 'false()' -o yes -n --elif 'true()' -o maybe -n --else -o no -n -b -o all -n |