Menu

[4e159d]: / examples / sort2  Maximize  Restore  History

Download this file

5 lines (3 with data), 128 Bytes

#!/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

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.