diff options
Diffstat (limited to 'examples/sort1')
-rw-r--r-- | examples/sort1 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/sort1 b/examples/sort1 new file mode 100644 index 0000000..aa21316 --- /dev/null +++ b/examples/sort1 @@ -0,0 +1,3 @@ +#!/bin/sh +# Query XML document and produce sorted text table +./xmlstarlet sel -T -t -m /xml/table/rec -s D:N:- "@id" -v "concat(@id,'|',numField,'|',stringField)" -n xml/table.xml |