projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
af2be89
)
parse-all-xml: Parse all structure XML, not just "light" ones.
author
Ben Pfaff
<blp@cs.stanford.edu>
Mon, 17 Jul 2017 22:29:35 +0000
(15:29 -0700)
committer
Ben Pfaff
<blp@cs.stanford.edu>
Mon, 17 Jul 2017 22:29:35 +0000
(15:29 -0700)
parse-all-xml
patch
|
blob
|
history
diff --git
a/parse-all-xml
b/parse-all-xml
index c7b7f93a532a78a9ce2058f3cd05e1032b93431c..09ec646bef8f95bb57418be32bfe4742f7e9c8d4 100755
(executable)
--- a/
parse-all-xml
+++ b/
parse-all-xml
@@
-1,13
+1,9
@@
#! /bin/sh
#! /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=`find unzipped* -name '*.xml' | grep -vE 'notes|table|warning|chart|model' \
- | xargs grep -EL '<([a-z]*:)?(model|graph|borderProperties)'`
-
+# Parse the structure members.
+structure_members=`find unzipped* -name 'outputViewer*.xml'`
if test -n "$1"; then
if test -n "$1"; then
- for d in $
lightTable
s; do
- ./parse-xml $d
$1
+ for d in $
structure_member
s; do
+ ./parse-xml $d
"$@"
done | sort | uniq -c
fi
done | sort | uniq -c
fi