Made BSD diff compatible
[pspp-builds.git] / tests / bugs / agg-crash-2.sh
index cd2fd1e34a550e372a99c6ee40bb8c3c2e35426b..9bec5da2869da28a530a4374d9b0e88a67d28762 100755 (executable)
@@ -69,7 +69,8 @@ if [ $? -ne 0 ] ; then no_result ; fi
 $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 | perl -e 's/^\s*$//g'
 1.1 DATA LIST.  Reading free-form data from the command file.
 +--------+------+
 |Variable|Format|