Strabon

view scripts/printNTriples @ 1287:9b5777ecfdc9

[maven-release-plugin] rollback the release of v3.2.9-temporals
author constant <Konstantina.Bereta@di.uoa.gr>
date Sun Oct 20 20:01:43 2013 +0300 (2013-10-20)
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'