@@ -20,11 +20,11 @@
fi
(
echo '
NAME
'
man2html -H linux.die.net -M /man -p "${file}.3" | \
- 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 's@file:/usr/include/libconfig.h@artifact/'"${LIBCONFIG_H_SHA1}"'@' | \
sed '$ d;/^ *$/ d' | \
sed 's@\(http://linux.die.net/man/[^+]*\)+@\1/@' | \
sed 's@http://linux.die.net/man/3/lc_@wiki/Manual for lc_@g;s@http://linux.die.net/man/3/libconfig@wiki/Manual@'
) | (