Made BSD diff compatible
[pspp-builds.git] / tests / bugs / get.sh
index 4fddea75d746bc368c6c34e090b6261cc6f6173c..cd37b4a003920ff34969bbe81164a05b31ce4944 100755 (executable)
@@ -86,7 +86,8 @@ if [ $? -ne 0 ] ; then no_result ; fi
 
 
 activity="compare output"
-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'
 LOCATION   EDITOR    SHELL     FREQ
  -------- -------- -------- --------
      1.00     1.00     1.00     2.00