-perl -pi -e 's/^\s*$//g' $TEMPDIR/pspp.list
-diff -b $TEMPDIR/pspp.list - <<EOF
-1.1 DATA LIST. Reading 1 record from the command file.
-+----------+------+-------+------+
-| Variable |Record|Columns|Format|
-#==========#======#=======#======#
-|X | 1| 1- 1|F1.0 |
-|Y | 1| 2- 2|F1.0 |
-|ZOOLOGICAL| 1| 3- 3|F1.0 |
-+----------+------+-------+------+
-1 2.00
-2 5.00
-3 9.00
-4 .00
+diff -c $TEMPDIR/pspp.csv - <<EOF
+Loop with index
+
+1.00
+
+2.00
+
+--------
+
+2.00
+
+4.00
+
+--------
+
+3.00
+
+6.00
+
+9.00
+
+--------
+
+--------
+
+Loop with IF condition
+
+1.00
+
+2.00
+
+--------
+
+2.00
+
+4.00
+
+--------
+
+3.00
+
+6.00
+
+9.00
+
+--------
+
+--------
+
+Loop with END IF condition
+
+1.00
+
+2.00
+
+--------
+
+2.00
+
+4.00
+
+--------
+
+3.00
+
+6.00
+
+9.00
+
+--------
+
+4.00
+
+--------
+
+Loop with index and IF condition based on index
+
+1.00
+
+2.00
+
+--------
+
+2.00
+
+--------
+
+3.00
+
+--------
+
+--------
+
+Loop with index and END IF condition based on index
+
+1.00
+
+2.00
+
+--------
+
+2.00
+
+4.00
+
+--------
+
+3.00
+
+6.00
+
+--------
+
+--------
+
+Loop with index and IF and END IF condition based on index
+
+--------
+
+2.00
+
+4.00
+
+--------
+
+--------
+
+--------
+
+Loop with no conditions
+
+1.00
+
+--------
+
+2.00
+
+4.00
+
+--------
+
+3.00
+
+6.00
+
+--------
+
+4.00
+
+--------