Made tests BSD diff compatible
[pspp] / tests / command / examine-extremes.sh
index b10fdbca5afc0fa8821f0f296eb4da4e896dc4bd..afecfa56cd7e57cad414ecd4935d0d23ac3c1e34 100755 (executable)
@@ -89,7 +89,8 @@ $SUPERVISOR $here/../src/pspp -o raw-ascii $TESTFILE
 if [ $? -ne 0 ] ; then no_result ; fi
 
 activity="compare results"
-diff -b -B $TEMPDIR/pspp.list - << EOF
+perl -pi -e s/^\s*\$//g $TEMPDIR/pspp.list
+diff -b  $TEMPDIR/pspp.list - << EOF | perl -e 's/^\s*$//g'
 1.1 EXAMINE.  Case Processing Summary
 #==#===============================#
 #  #             Cases             #