Strabon

view scripts/printNTriples @ 1539:5bf0afdae932

updated postgres/postgis jdbc so that it is compliant with the new versions of postgresql and postgis
author Konstantina Bereta <Konstantina.Bereta@di.uoa.gr>
date Tue Oct 10 17:41:06 2017 +0300 (2017-10-10)
parents 8863c960e1f0
children
line source
1 #! /bin/bash
3 input=$1
5 if [ "$input" == "" ]; then
6 echo "give database name"
7 exit -1
8 fi
10 fgrep '[s=' $input \
11 | sed 's/\[s=\(.*\);o=\(.*\);p=\(.*\)\]/\1 \3 \2;/g' \
12 | sed 's/\(http:\/\/[^ >]*\)\([ ;]\)/<\1>\2/g' \
13 | sed 's/;/./g'