From 4980ff2d6c0e9e349c92f042ca1e07c643125491 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Tue, 7 Mar 2017 19:54:07 +0100 Subject: small fixes on OSX --- strus/create_xml.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'strus/create_xml.sh') 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 -- cgit v1.2.3-54-g00ecf