Author: ogrisel
Date: Wed Sep 21 15:24:29 2011
New Revision: 1173708
URL: http://svn.apache.org/viewvc?rev=1173708&view=rev
Log:
STANBOL-323: fix double backslash escaping instead of skipping
Modified:
incubator/stanbol/trunk/entityhub/indexing/dbpedia/fetch_prepare.sh
Modified: incubator/stanbol/trunk/entityhub/indexing/dbpedia/fetch_prepare.sh
URL:
http://svn.apache.org/viewvc/incubator/stanbol/trunk/entityhub/indexing/dbpedia/fetch_prepare.sh?rev=1173708&r1=1173707&r2=1173708&view=diff
==============================================================================
--- incubator/stanbol/trunk/entityhub/indexing/dbpedia/fetch_prepare.sh
(original)
+++ incubator/stanbol/trunk/entityhub/indexing/dbpedia/fetch_prepare.sh Wed Sep
21 15:24:29 2011
@@ -50,7 +50,7 @@ wget -c $DBPEDIA/en/short_abstracts_en.n
if [ ! -f images_en.nt ]
then
wget -c $DBPEDIA/en/images_en.nt.bz2
- bzcat images_en.nt.bz2 | grep -v '\\\\' > images_en.nt
+ bzcat images_en.nt.bz2 | sed 's/\\\\/\\u005c/g' > images_en.nt
rm -f images_en.nt.bz2
fi
@@ -58,7 +58,7 @@ fi
if [ ! -f labels_de.nt ]
then
wget -c $DBPEDIA/de/labels_de.nt.bz2
- bzcat labels_de.nt.bz2 | grep -v '\\\\' > labels_de.nt
+ bzcat labels_de.nt.bz2 | sed 's/\\\\/\\u005c/g' > labels_de.nt
rm -f labels_de.nt.bz2
fi