summaryrefslogtreecommitdiff
path: root/examples/move1
diff options
context:
space:
mode:
Diffstat (limited to 'examples/move1')
-rw-r--r--examples/move14
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/move1 b/examples/move1
new file mode 100644
index 0000000..7a8967c
--- /dev/null
+++ b/examples/move1
@@ -0,0 +1,4 @@
+#!/bin/sh
+# Move element node
+echo '<x id="1"><a/><b/></x>' | ./xmlstarlet ed -m "//b" "//a"
+