diff options
Diffstat (limited to 'examples/sort2')
-rw-r--r-- | examples/sort2 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/sort2 b/examples/sort2 new file mode 100644 index 0000000..49a6d45 --- /dev/null +++ b/examples/sort2 @@ -0,0 +1,4 @@ +#!/bin/sh +# Sort on two fields +./xmlstarlet sel -T -t -m /root/elem -s A:N:U @rank -s A:T:U @name -v @name -n xml/unsorted.xml + |