Made BSD diff compatible
[pspp-builds.git] / tests / command / no_case_size.sh
index 9e4ac2400ca5cdf280cfbbfa8fe2521dd62cfb99..5323b875a3c64d88cb141341e3b684bd9d6eddbd 100755 (executable)
@@ -68,7 +68,8 @@ $SUPERVISOR $here/../src/pspp --testing-mode -o raw-ascii $TESTFILE
 if [ $? -ne 0 ] ; then no_result ; fi
 
 activity="compare output"
-diff -b -B -w pspp.list - <<EOF
+perl -pi -e 's/^\s*$//g' pspp.list
+diff -b -w pspp.list - <<EOF |perl -e 's/^\s*$//g'
 1.1 DISPLAY.  
 +--------+-------------------------------------------+--------+
 |Variable|Description                                |Position|