* bugs/overwrite-special-file.sh: Ditto.
+2007-11-07 Ben Pfaff <blp@gnu.org>
+
+ * bugs/overwrite-input-file.sh: Don't use non-portable "diff -B".
+
+ * bugs/overwrite-special-file.sh: Ditto.
+
+ Reported by Jason Stover.
+
2007-11-03 Ben Pfaff <blp@gnu.org>
Allow output files to overwrite input files (bug #21280).
if [ $? -ne 0 ] ; then no_result ; fi
activity="compare output"
-diff -b -B pspp.list - << EOF
+perl -pi -e 's/^\s*$//g' $TEMPDIR/pspp.list
+diff -b pspp.list - << EOF
X Y
-------- --------
1.00 2.00
3.00 4.00
4.00 5.00
5.00 6.00
-
X Y
- --------
1 3.00
3 5.00
4 6.00
5 7.00
-
X Y
- --------
1 4.00
if [ $? -ne 0 ] ; then no_result ; fi
activity="check that foo2.out was created"
-diff -b -B foo2.out - << EOF
+perl -pi -e 's/^\s*$//g' $TEMPDIR/pspp.list
+diff -b foo2.out - << EOF
1
2
3