X-Git-Url: http://matita.cs.unibo.it/gitweb/?p=helm.git;a=blobdiff_plain;f=helm%2Fmetadata%2Fpostgresql_V7_mowgli%2Fupload_rel.pl;fp=helm%2Fmetadata%2Fpostgresql_V7_mowgli%2Fupload_rel.pl;h=0000000000000000000000000000000000000000;hp=6fece84418d0fe92a8338486cad366ef28fe1a88;hb=3ef089a4c58fbe429dd539af6215991ecbe11ee2;hpb=1c7fb836e2af4f2f3d18afd0396701f2094265ff diff --git a/helm/metadata/postgresql_V7_mowgli/upload_rel.pl b/helm/metadata/postgresql_V7_mowgli/upload_rel.pl deleted file mode 100755 index 6fece8441..000000000 --- a/helm/metadata/postgresql_V7_mowgli/upload_rel.pl +++ /dev/null @@ -1,30 +0,0 @@ -#!/usr/bin/perl - -my $inputfile = $ARGV[0]; - -#print "Now splitting file $inputfile\n"; -open(IN, "<$inputfile") or die "Error opening file $inputfile"; -while(($skip = ) && not ($skip =~ /) && not ($line0 =~ /<\/rdf:RDF>/)) { # $/$1/; - $line1 = ; #; # - $position = $line2; - chomp($position); - $position =~ s/^[ \t]*[^"]*"&hns;([^"]*)"\/>/$1/; - $position = "http://www.cs.unibo.it/helm/schemas/schema-helm#$position"; - $line3 = ; #([^<]*)<\/h:depth>$/$1/; - $line4 = ; # ; # - - $line0 =~ s/'/\\'/g; - $position =~ s/'/\\'/g; - $depth =~ s/'/\\'/g; - print "insert into hrefRel values ('$line0', '$position', $depth);\n\n"; -} -close(IN);