summaryrefslogtreecommitdiff
path: root/examples/table2
diff options
context:
space:
mode:
Diffstat (limited to 'examples/table2')
-rw-r--r--examples/table23
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/table2 b/examples/table2
new file mode 100644
index 0000000..cb20a4b
--- /dev/null
+++ b/examples/table2
@@ -0,0 +1,3 @@
+#!/bin/sh
+# Generate plain text table from XML document
+./xmlstarlet sel -T -t -m /xml/table/rec -v "concat(@id,'|',numField,'|',stringField)" -n xml/table.xml