summaryrefslogtreecommitdiff
path: root/examples/bigxml-well-formed
diff options
context:
space:
mode:
Diffstat (limited to 'examples/bigxml-well-formed')
-rw-r--r--examples/bigxml-well-formed4
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/bigxml-well-formed b/examples/bigxml-well-formed
new file mode 100644
index 0000000..e664a21
--- /dev/null
+++ b/examples/bigxml-well-formed
@@ -0,0 +1,4 @@
+#!/bin/sh
+. ./bigxml
+xmldoc '<b></c>' | ./xmlstarlet val --well-formed --err - \
+ 2>&1 >/dev/null | ${SED:-sed} -n "$SEDLINUM_PROG"