X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=parse-all-xml;h=c7b7f93a532a78a9ce2058f3cd05e1032b93431c;hb=d19037e528f40400799790646e8cfafc027da304;hp=c1282e03ff3bf6476afb81d3824526303762f18c;hpb=54fce7afc9d898accbf0ad44037f4148648a31bf;p=pspp diff --git a/parse-all-xml b/parse-all-xml index c1282e03ff..c7b7f93a53 100755 --- a/parse-all-xml +++ b/parse-all-xml @@ -3,11 +3,11 @@ # Parse the structure members that do not represent models or graphs. # Also skip those with borderProperties, which indicate the non-"light" # format. -lightTables=`ls -1 unzipped/*/*.xml |grep -vE 'notes|table|warning|chart|model' \ +lightTables=`find unzipped* -name '*.xml' | grep -vE 'notes|table|warning|chart|model' \ | xargs grep -EL '<([a-z]*:)?(model|graph|borderProperties)'` if test -n "$1"; then for d in $lightTables; do ./parse-xml $d $1 - done | sort | uniq -c | sort -rn + done | sort | uniq -c fi