X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fmetadata%2Fcreate_V7_mowgli%2Ffix_rdf.pl;fp=helm%2Fmetadata%2Fcreate_V7_mowgli%2Ffix_rdf.pl;h=0000000000000000000000000000000000000000;hb=869549224eef6278a48c16ae27dd786376082b38;hp=23b4b7fda2f6f438dd039eae7d1d7f687b96c10b;hpb=89262281b6e83bd2321150f81f1a0583645eb0c8;p=helm.git diff --git a/helm/metadata/create_V7_mowgli/fix_rdf.pl b/helm/metadata/create_V7_mowgli/fix_rdf.pl deleted file mode 100755 index 23b4b7fda..000000000 --- a/helm/metadata/create_V7_mowgli/fix_rdf.pl +++ /dev/null @@ -1,39 +0,0 @@ -#!/usr/bin/perl - -$filename = $uri = $ARGV[0]; -$outputfile = $filename.".xml"; -$uri =~ s/^backward/cic:/; -$uri =~ s/(.*),([^,]*),([^,]*)/$1#xpointer(1\/$2\/$3)/; -$uri =~ s/(.*),([^,]*)/$1#xpointer(1\/$2)/; - -print "Now processing file $filename\n"; - -open(HEADER,">>$outputfile"); -print HEADER < - - - - - - ]> - - -EOT -close(HEADER); - -$quotedfilename = $filename; -$quotedfilename =~ s/'/\\'/g; -$quotedoutputfile = $outputfile; -$quotedoutputfile =~ s/'/\\'/g; -system("cat $quotedfilename >> $quotedoutputfile"); - -open(FOOTER,">>$outputfile"); -print FOOTER < - -EOT -close(FOOTER); - -unlink $filename;