repo.or.cz
/
geos.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Add test for #580 (successful)
[geos.git]
/
doc
/
example.tosql
blob
5dbf2b20436fc0cf30a443986a1e5effd5236b07
1
#!/bin/sh
2
3
if
[
-n
"
$1
"
];
then
4
table
=
$1
5
else
6
table
=
'test'
7
fi
8
9
grep
'^\['
|
sed
"s/^\[[^]]*\]/INSERT INTO
$table
(geom) VALUES ('/"
|
sed
"s/$/');/"
|
sed
's/LINEARRING/LINESTRING/g'