projects
/
pspp-builds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
93ac3aa
)
replaced busted sed substitution with functioning perl substitutions
author
Jason Stover
<jhs@math.gcsu.edu>
Fri, 7 Oct 2005 20:37:52 +0000
(20:37 +0000)
committer
Jason Stover
<jhs@math.gcsu.edu>
Fri, 7 Oct 2005 20:37:52 +0000
(20:37 +0000)
tests/command/autorecod.sh
patch
|
blob
|
history
diff --git
a/tests/command/autorecod.sh
b/tests/command/autorecod.sh
index 4b51f52434db2bf77fb38c1d1eafba361c1f4f71..2ebdc6c758af1340d40968b393a70611350e05da 100755
(executable)
--- a/
tests/command/autorecod.sh
+++ b/
tests/command/autorecod.sh
@@
-81,7
+81,8
@@
$SUPERVISOR $here/../src/pspp -o raw-ascii $TESTFILE
if [ $? -ne 0 ] ; then no_result ; fi
activity="test output"
-diff -b $TEMPDIR/pspp.list - <<EOF | sed -e 's/^[\t ]*$//'
+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|