Index: build/update-wiki
==================================================================
--- build/update-wiki
+++ build/update-wiki
@@ -1,9 +1,9 @@
#! /bin/bash
(
echo '
NAME
'
man2html -H linux.die.net -M /man -p filed.1 | \
- sed '0,/NAME<\/H2>/ d;/Index<\/H2>/,$ d;s@Return to Main Contents@@;s@\[@\[@;s@\]@\]@' | \
+ sed '0,/NAME<\/H2>/ d;/Index<\/H2>/,$ d;s@Return to Main Contents@@;s@\[@\[@g;s@\]@\]@g' | \
sed '$ d;/^ *$/ d' | \
sed 's@\(http://linux.die.net/man/[^+]*\)+@\1/@'
) | fossil wiki commit Manual