-activity="compare results"
-diff -B -b $TEMPDIR/pspp.list - << EOF
-1.1 DATA LIST. Reading 1 record from the command file.
-+--------+------+-------+------+
-|Variable|Record|Columns|Format|
-#========#======#=======#======#
-|A | 1| 1- 2|F2.0 |
-+--------+------+-------+------+
-
- A
---
- 2
- 6
- 9
-10
+activity="create head"
+grep -v '^[ \r]*$' $TEMPDIR/pspp.csv | head -1 > $TEMPDIR/head
+if [ $? -ne 0 ] ; then no_result ; fi
+
+activity="extract data"
+grep '[0-9][0-9]*' $TEMPDIR/pspp.csv > $TEMPDIR/data
+if [ $? -ne 0 ] ; then no_result ; fi
+
+
+activity="compare head"
+diff -b $TEMPDIR/head - << EOF
+Table: Data List