]> granicus.if.org Git - postgis/commitdiff
Used more portable sed syntax, submitted by Michael Fuhr.
authorSandro Santilli <strk@keybit.net>
Tue, 20 Dec 2005 09:17:22 +0000 (09:17 +0000)
committerSandro Santilli <strk@keybit.net>
Tue, 20 Dec 2005 09:17:22 +0000 (09:17 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@2236 b70326c6-7e19-0410-871a-916f4a2858ee

regress/run_test

index c5fd9cfac9922109fe7e3454a67c8f43072da70c..4142d9a466bae3f846c2591f432c31d10f6ba45c 100755 (executable)
@@ -107,7 +107,7 @@ while [ -n "$1" ]; do
                | grep -v "^CREATE" \
                | grep -v "^SET" \
                | sed 's/Infinity/inf/g;s/Inf/inf/g;s/1\.#INF/inf/g' \
-               | sed 's/[eE]\([+-]\)0\+\([0-9]\+\)/e\1\2/g' \
+               | sed 's/[eE]\([+-]\)0\{1,\}\([0-9]\{1,\}\)/e\1\2/g' \
                > "${OUTFILE}"
        rm ${TMPFILE}