Made compatible with BSD diff
authorJason Stover <jhs@math.gcsu.edu>
Fri, 7 Oct 2005 20:01:38 +0000 (20:01 +0000)
committerJason Stover <jhs@math.gcsu.edu>
Fri, 7 Oct 2005 20:01:38 +0000 (20:01 +0000)
tests/command/autorecod.sh

index d29a9577f6d398e0daf2524c6e9c5b5fdcc391d6..4b51f52434db2bf77fb38c1d1eafba361c1f4f71 100755 (executable)
@@ -81,7 +81,7 @@ $SUPERVISOR $here/../src/pspp    -o raw-ascii $TESTFILE
 if [ $? -ne 0 ] ; then no_result ; fi
 
 activity="test output"
-diff -b -B $TEMPDIR/pspp.list - <<EOF
+diff -b $TEMPDIR/pspp.list - <<EOF | sed -e 's/^[\t ]*$//'
 1.1 DATA LIST.  Reading 1 record from the command file.
 +--------+------+-------+------+
 |Variable|Record|Columns|Format|