Made BSD diff compatible
[pspp-builds.git] / tests / bugs / match-files-scratch.sh
index ce562c75b2ea239e9360fc6f77d897f6c3254d40..66a3ea3e250f85defb7e5795332d4202bbe2718c 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 | perl -e 's/^\s*$//g'
 1.1 DATA LIST.  Reading free-form data from the command file.
 +--------+------+
 |Variable|Format|