summaryrefslogtreecommitdiff
path: root/examples/ed-subnode
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/ed-subnode
downloadxmlstarlet-4732847654ed74ed893b7ea088805832fd91cc18.tar.gz
xmlstarlet-4732847654ed74ed893b7ea088805832fd91cc18.tar.bz2
xmlstarlet-4732847654ed74ed893b7ea088805832fd91cc18.zip
Diffstat (limited to 'examples/ed-subnode')
-rw-r--r--examples/ed-subnode2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/ed-subnode b/examples/ed-subnode
new file mode 100644
index 0000000..ead761b
--- /dev/null
+++ b/examples/ed-subnode
@@ -0,0 +1,2 @@
+#!/bin/sh
+./xmlstarlet ed -s '/xml/table/rec[@id=1]' -t elem -n newrec -v value xml/table.xml