From b5df8166844fd7bd32cf90b8b4599b07683d5e69 Mon Sep 17 00:00:00 2001 From: aj Date: Fri, 4 May 2007 07:13:04 +0000 Subject: [PATCH] fix wiki html export. git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3166 c6295689-39f2-0310-b995-f0e70906c6a9 --- doc/export-wiki.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/export-wiki.sh b/doc/export-wiki.sh index ef67cc38..688e4e46 100755 --- a/doc/export-wiki.sh +++ b/doc/export-wiki.sh @@ -24,7 +24,8 @@ rm -rf "$SRCDIR"/*.html "$SRCDIR"/*.css wget -nv $SERVER/$WIKI/TitleIndex -O "$SRCDIR"/TitleIndex.tmp -grep "\"/$WIKI/[^\"]*\"" "$SRCDIR"/TitleIndex.tmp \ +sed -e "s##\n#g" < "$SRCDIR"/TitleIndex.tmp \ + | grep "\"/$WIKI/[^\"]*\"" \ |sed -e "s#.*\"/$WIKI/\([^\"]*\)\".*#\1#g" \ > "$SRCDIR"/WikiWords.tmp sed -e /^Trac/d -e /^Wiki/d -e /^TitleIndex/d -e /^RecentChanges/d \