Skip to content
Snippets Groups Projects
Commit ea8b305b authored by Andreas Schärtl's avatar Andreas Schärtl
Browse files

update isabelle-prepare to fix all characters

parent fa84e034
No related branches found
No related tags found
No related merge requests found
......@@ -39,7 +39,7 @@ Week 18 (27.04.-03.05.)
-> the IRIs in the Isabelle exports have the following
characters which are (according to automated tool
`iriok' [4]) not valid: '|', '\' and ' '
`iriok' [4]) not valid: '|', '\', ' ', '^'
-> importing the files w/ fixed IRIs I get new errors
from graphDB (sigh)
......
......@@ -26,5 +26,8 @@ for file in $files; do
# uncompress, fix iris, compress again
unxz "$file"
sed -i 's/|/%7C/g' "$rdf_file"
sed -i 's/\\/%5C/g' "$rdf_file"
sed -i 's/ /%20/g' "$rdf_file"
sed -i 's/\^/%5E/g' "$rdf_file"
gzip "$rdf_file"
done
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment