summaryrefslogtreecommitdiff
path: root/examples/ed-move
diff options
context:
space:
mode:
Diffstat (limited to 'examples/ed-move')
-rw-r--r--examples/ed-move2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/ed-move b/examples/ed-move
new file mode 100644
index 0000000..4b0fc86
--- /dev/null
+++ b/examples/ed-move
@@ -0,0 +1,2 @@
+#!/bin/sh
+./xmlstarlet ed -m '/xml/table/rec[@id=1]/@id' '/xml/table' xml/table.xml