[postgis-devel] New polygon constructors (was: OGC polygon constructors)

Michael Fuhr mike at fuhr.org
Mon Dec 12 12:59:17 PST 2005


On Mon, Dec 12, 2005 at 09:40:32PM +0100, strk at refractions.net wrote:
> On Mon, Dec 12, 2005 at 09:38:33PM +0100, strk at refractions.net wrote:
> > Mike, since you're around,
> > does this to work with solaris shell ?
> > 
> > 	A=`basename $A .sql`
> > 
> > 	Expected behaviour:
> > 	A=test     ---> A=test
> > 	A=test.sql ---> A=test
> 
> Forget about this, sorry, I didn't consider
> absolute paths... changed to
> 
> 	TEST=`echo "$TEST" | sed 's/\.sql$//'`

Both of these work with /bin/sh on Solaris 9.

-- 
Michael Fuhr



More information about the postgis-devel mailing list