From 7d9a47fdc83e4adda2a8b2ee1406f277c4ffe2b8 Mon Sep 17 00:00:00 2001 From: Jason Stover <jhs@math.gcsu.edu> Date: Fri, 7 Oct 2005 20:37:52 +0000 Subject: [PATCH] replaced busted sed substitution with functioning perl substitutions --- tests/command/autorecod.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/command/autorecod.sh b/tests/command/autorecod.sh index 4b51f52434..2ebdc6c758 100755 --- 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| -- 2.30.2