Refine understanding of legacy binary data format.
[pspp] / parse-all-heavy
index 757e46d200866f0174f8e828db96ab792f92ecd6..a6fce9ebef5db3becb3abc4056d03cd438d39224 100755 (executable)
@@ -1,10 +1,13 @@
 #! /bin/sh
-heavy=`ls -1 unzipped/*/*.bin | grep -v light`
 
-for d in $heavy; do
-    if ! ./dump2 < $d > /dev/null 2>&1; then
+make || exit $?
+for d in unzipped*/*/*.bin; do
+    case $d in
+        *light*) continue ;;
+    esac
+    if ! ./dump2 < $d > /dev/null; then
        echo $d
-       ./dump2 < $d
+#./dump2 < $d >/dev/null
        echo
     fi
 done