summaryrefslogtreecommitdiff
path: root/strus/create_xml.sh
diff options
context:
space:
mode:
Diffstat (limited to 'strus/create_xml.sh')
-rwxr-xr-xstrus/create_xml.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/strus/create_xml.sh b/strus/create_xml.sh
index 422e16f..4ef5c5a 100755
--- a/strus/create_xml.sh
+++ b/strus/create_xml.sh
@@ -18,6 +18,8 @@ for file in `find ../content/ -name '*.md'`; do
slug="/"
fi
+ slug=`echo $slug | sed 's@^//@/@g'`
+
awk 'BEGIN { i = 0 } /\+\+\+/{x="F"++i;}{print > x;}' $file >/dev/null 2>&1
if test ! -f F1 -a -f F2; then