Made BSD diff compatible
[pspp-builds.git] / tests / command / sysfiles.sh
index 0dd6c5fe74bee9c599665c6524830ec72c23f916..4dca4eaaf18437e760df74cf936ba13bc31d237c 100755 (executable)
@@ -79,7 +79,7 @@ $SUPERVISOR $here/../src/pspp -o raw-ascii $TESTFILE
 if [ $? -ne 0 ] ; then no_result ; fi
 
 activity="compare output"
-perl -pi -e s/^\s*\$//g $TEMPDIR/pspp.list
+perl -pi -e 's/^\s*\$//g' $TEMPDIR/pspp.list
 diff -b  -w $TEMPDIR/pspp.list - << EOF | perl -e 's/^\s*$//g'
 variable001 variable002 variable003 variable004
 ----------- ----------- ----------- -----------