X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fmetadata%2Fcreate_V7_mowgli%2Ffix_rdf.pl;h=23b4b7fda2f6f438dd039eae7d1d7f687b96c10b;hb=0373aa12449568c5aca2027d8e8773ea0c0fa4a5;hp=6d17383b3615ddd12b159716cad6dbeb608abcd2;hpb=0e6b8620b9c128c3f256c00b422cee7708321171;p=helm.git diff --git a/helm/metadata/create_V7_mowgli/fix_rdf.pl b/helm/metadata/create_V7_mowgli/fix_rdf.pl index 6d17383b3..23b4b7fda 100755 --- a/helm/metadata/create_V7_mowgli/fix_rdf.pl +++ b/helm/metadata/create_V7_mowgli/fix_rdf.pl @@ -12,12 +12,22 @@ open(HEADER,">>$outputfile"); print HEADER < - + + + + + ]> + EOT close(HEADER); -system("cat $filename >> $outputfile"); +$quotedfilename = $filename; +$quotedfilename =~ s/'/\\'/g; +$quotedoutputfile = $outputfile; +$quotedoutputfile =~ s/'/\\'/g; +system("cat $quotedfilename >> $quotedoutputfile"); open(FOOTER,">>$outputfile"); print FOOTER <