Fixed blank replacement
[pspp-builds.git] / tests / bugs / match-files-scratch.sh
index 66a3ea3e250f85defb7e5795332d4202bbe2718c..c36bc9ad3ed106018dc68833a8c59e368e1c81da 100755 (executable)
@@ -74,8 +74,8 @@ $SUPERVISOR $here/../src/pspp -o raw-ascii $TESTFILE
 if [ $? -ne 0 ] ; then no_result ; fi
 
 
-perl -pi -e s/^\s*\$//g $TEMPDIR/pspp.list
-diff -b  -w $TEMPDIR/pspp.list - << EOF | perl -e 's/^\s*$//g'
+perl -pi -e 's/^\s*$//g' $TEMPDIR/pspp.list
+diff -b  -w $TEMPDIR/pspp.list - << EOF
 1.1 DATA LIST.  Reading free-form data from the command file.
 +--------+------+
 |Variable|Format|
@@ -84,7 +84,6 @@ diff -b  -w $TEMPDIR/pspp.list - << EOF | perl -e 's/^\s*$//g'
 |x       |F8.0  |
 |y       |F8.0  |
 +--------+------+
-
        x        y        j
 -------- -------- --------
     5.00     6.00    55.00