Made BSD diff compatible
[pspp-builds.git] / tests / bugs / crosstabs-crash.sh
index f77ce50bfa395158fe3c8b2bd8c7ba5350241e70..82030df5648a8ba4293dbc519732a90b9d521efb 100755 (executable)
@@ -64,7 +64,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 | perl -e 's/^\s*$//g'
 1.1 DATA LIST.  Reading free-form data from the command file.
 +--------+------+
 |Variable|Format|