Fixed blank replacement
[pspp-builds.git] / tests / command / autorecod.sh
index 2ebdc6c758af1340d40968b393a70611350e05da..b9f6e50d6ecd299a0fbf02b4dd29f6083fd92f3a 100755 (executable)
@@ -82,7 +82,7 @@ if [ $? -ne 0 ] ; then no_result ; fi
 
 activity="test output"
 perl -pi -e 's/^\s*$//g' $TEMPDIR/pspp.list
-diff -b $TEMPDIR/pspp.list - <<EOF |perl -e 's/^\s*$//g'
+diff -b $TEMPDIR/pspp.list - <<EOF
 1.1 DATA LIST.  Reading 1 record from the command file.
 +--------+------+-------+------+
 |Variable|Record|Columns|Format|
@@ -90,7 +90,6 @@ diff -b $TEMPDIR/pspp.list - <<EOF |perl -e 's/^\s*$//g'
 |X       |     1|  1-  5|A5    |
 |Y       |     1|  7-  7|F1.0  |
 +--------+------+-------+------+
-
     X Y        A        B
 ----- - -------- --------
 lasdj 1     1.00     3.00 
@@ -102,7 +101,6 @@ asdfj 9     4.00     1.00
 lajks 9     2.00     1.00 
 asdfk 0     3.00     4.00 
 asdfk 1     3.00     3.00 
-
     X Y        A        B        Z        W
 ----- - -------- -------- -------- --------
 lasdj 1     1.00     3.00      .00     1.00