summaryrefslogtreecommitdiff
path: root/examples/N-order
diff options
context:
space:
mode:
Diffstat (limited to 'examples/N-order')
-rw-r--r--examples/N-order4
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/N-order b/examples/N-order
new file mode 100644
index 0000000..a244998
--- /dev/null
+++ b/examples/N-order
@@ -0,0 +1,4 @@
+#!/bin/sh
+# make sure -N after other option is allowed
+./xmlstarlet sel -T -N n=n -t -v /n:x xml/foo.xml 2>&1 >/dev/null
+./xmlstarlet ed -P -N n=n -d /n:x xml/foo.xml 2>&1 >/dev/null