Strabon

view scripts/printNTriples @ 850:b3e0d7415823

[maven-release-plugin] prepare release v3.2.7
author George Garbis <ggarbis@di.uoa.gr>
date Wed Jan 09 16:06:41 2013 +0200 (2013-01-09)
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'