Revert "work on figuring more stuff out--may want to revert this commit"
[pspp] / parse-detail-xml
index 6d7858835eea14ea22f584442816e3c1cf632148..f0b175e7ab6c1037733f27abbb37d0c72b854906 100755 (executable)
@@ -2,10 +2,8 @@
 
 # Parse the detail XML members.
 legacyXML=`ls -1 unzipped/*/*.xml |grep -vE 'outputViewer|stats|chart|model'`
-for d in $legacyXML; do echo $d; done | wc
-#grep -h -o '<style id="visualizationStyle"[^>]*>' $legacyXML
 if test -n "$1"; then
     for d in $legacyXML; do
        ./parse-xml $d $1
-    done
+    done | sort | uniq
 fi