summaryrefslogtreecommitdiff
path: root/examples/ed-nop
diff options
context:
space:
mode:
Diffstat (limited to 'examples/ed-nop')
-rw-r--r--examples/ed-nop4
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/ed-nop b/examples/ed-nop
new file mode 100644
index 0000000..c343d8c
--- /dev/null
+++ b/examples/ed-nop
@@ -0,0 +1,4 @@
+#!/bin/sh
+# libxml2 returns a NULL nodeset instead of an empty nodeset for this
+# xpath expression
+./xmlstarlet ed -S -N n=nn -d /n:doc/foo xml/foo.xml