activity="compare results"
-perl -pi -e s/^\s*\$//g $TEMPDIR/pspp.list
-diff -b $TEMPDIR/pspp.list - << EOF | perl -e 's/^\s*$//g'
+perl -pi -e 's/^\s*$//g' $TEMPDIR/pspp.list
+diff -b $TEMPDIR/pspp.list - << EOF
1.1 DATA LIST. Reading free-form data from the command file.
+--------+------+
|Variable|Format|
|X |F8.0 |
|C |F8.0 |
+--------+------+
-
2.1 EXAMINE. Case Processing Summary
#=#===============================#
# # Cases #
#=#==#=======#=#=======#==#=======#
#X#52| 100%|0| 0%|52| 100%#
#=#==#=======#=#=======#==#=======#
-
2.2 EXAMINE. Descriptives
#============================================#=========#==========#
# #Statistic|Std. Error#
# Skewness # 1.194 | .330 #
# Kurtosis # 15.732 | .650 #
#============================================#=========#==========#
-
EOF
if [ $? -ne 0 ] ; then fail ; fi