projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Made BSD diff compatible
[pspp]
/
tests
/
command
/
lag.sh
diff --git
a/tests/command/lag.sh
b/tests/command/lag.sh
index 579fd5af8c297506e503485d47f7c9b87aba4c9d..70d46e95606540c9a98cea51df1c319cbd8a315d 100755
(executable)
--- a/
tests/command/lag.sh
+++ b/
tests/command/lag.sh
@@
-71,7
+71,8
@@
$SUPERVISOR $here/../src/pspp -o raw-ascii $TEMPDIR/lag.stat
if [ $? -ne 0 ] ; then no_result ; fi
activity="compare result"
if [ $? -ne 0 ] ; then no_result ; fi
activity="compare result"
-diff -b -B $TEMPDIR/pspp.list - <<EOF
+perl -pi -e s/^\s*\$//g $TEMPDIR/pspp.list
+diff -b $TEMPDIR/pspp.list - <<EOF | perl -e 's/^\s*$//g'
1.1 DATA LIST. Reading 1 record from the command file.
+--------+------+-------+------+
|Variable|Record|Columns|Format|
1.1 DATA LIST. Reading 1 record from the command file.
+--------+------+-------+------+
|Variable|Record|Columns|Format|