Diff

Differences From Artifact [317810cb56]:

To Artifact [efb314696e]:


    18     18   	else
    19     19   		wikipage="Manual for ${file}"
    20     20   	fi
    21     21   
    22     22   	(
    23     23   		echo '<H2>NAME</H2>'
    24     24   		man2html -H linux.die.net -M /man -p "${file}.3" | \
    25         -			sed '0,/<H2>NAME<\/H2>/ d;/<H2>Index<\/H2>/,$ d;s@<A HREF="../index.html">Return to Main Contents</A>@@;s@\[@\&#91;@;s@\]@\&#93;@' | \
           25  +			sed '0,/<H2>NAME<\/H2>/ d;/<H2>Index<\/H2>/,$ d;s@<A HREF="../index.html">Return to Main Contents</A>@@;s@\[@\&#91;@g;s@\]@\&#93;@g' | \
    26     26   			sed 's@file:/usr/include/libconfig.h@artifact/'"${LIBCONFIG_H_SHA1}"'@' | \
    27     27   			sed '$ d;/^ *$/ d' | \
    28     28   			sed 's@\(http://linux.die.net/man/[^+]*\)+@\1/@' | \
    29     29   			sed 's@http://linux.die.net/man/3/lc_@wiki/Manual for lc_@g;s@http://linux.die.net/man/3/libconfig@wiki/Manual@'
    30     30   	) | (
    31     31   		fossil wiki commit "${wikipage}" || \
    32     32   			( fossil wiki create "${wikipage}" && fossil wiki commit "${wikipage}" )
    33     33   	)
    34     34   done
    35     35   fossil sync