summaryrefslogtreecommitdiff
path: root/examples/rename-elem1
diff options
context:
space:
mode:
Diffstat (limited to 'examples/rename-elem1')
-rw-r--r--examples/rename-elem13
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/rename-elem1 b/examples/rename-elem1
new file mode 100644
index 0000000..3709be2
--- /dev/null
+++ b/examples/rename-elem1
@@ -0,0 +1,3 @@
+#!/bin/sh
+# Rename elements
+./xmlstarlet ed -r "/xml/table/rec" -v record xml/tab-obj.xml