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