Move global initialization and cleanup code into main.c.
[pspp] / tests / bugs / match-files-scratch.sh
index ce562c75b2ea239e9360fc6f77d897f6c3254d40..c36bc9ad3ed106018dc68833a8c59e368e1c81da 100755 (executable)
@@ -74,7 +74,8 @@ $SUPERVISOR $here/../src/pspp -o raw-ascii $TESTFILE
 if [ $? -ne 0 ] ; then no_result ; fi
 
 
-diff -b -B -w $TEMPDIR/pspp.list - << EOF
+perl -pi -e 's/^\s*$//g' $TEMPDIR/pspp.list
+diff -b  -w $TEMPDIR/pspp.list - << EOF
 1.1 DATA LIST.  Reading free-form data from the command file.
 +--------+------+
 |Variable|Format|
@@ -83,7 +84,6 @@ diff -b -B -w $TEMPDIR/pspp.list - << EOF
 |x       |F8.0  |
 |y       |F8.0  |
 +--------+------+
-
        x        y        j
 -------- -------- --------
     5.00     6.00    55.00