aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/xkeyboard-config/tests/testShortDescriptions
blob: 886b5ab0cccc49fcfbd74860058ce81b6581eaf4 (plain)
1
2
3
4
5
6
#!/bin/sh

awk '/shortDescr/{print toupper($0)}' ../rules/base.xml.in | sed 's/<[^>]*>//g;s/ //g' | sort | uniq > xml.sd
awk '{print $1}' ../docs/iso3166-3.csv | sort > iso.sd
diff -u iso.sd xml.sd | grep '+'