Made BSD diff compatible
[pspp-builds.git] / tests / bugs / compute-lv.sh
index 2be6b0210caebb5fa4c07df596ada2d602a61b28..c1b4fec57ee07830dbc9156ddcda24013a8e52b9 100755 (executable)
@@ -71,7 +71,8 @@ if [ $? -ne 0 ] ; then fail ; fi
 
 
 activity="compare output"
-diff -B -b pspp.list - << EOF
+perl -pi -e 's/^\s*$//g' pspp.list
+diff -b pspp.list - << EOF |perl -e 's/^\s*$//g'
 1.1 DATA LIST.  Reading free-form data from the command file.
 +----------------+------+
 |    Variable    |Format|