#! /bin/sh # 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' \ | 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 fi