1
2
3
4
5
6
|
1
2
3
4
5
6
7
8
9
|
+
-
+
+
+
|
#! /bin/bash
(
echo '<H2>NAME</H2>'
man2html -H linux.die.net -M /man -p filed.1 | \
man2html -r filed.1 | sed '0,/<H2>NAME<\/H2>/ d;/<H2>Index<\/H2>/,$ d;s@<A HREF="../index.html">Return to Main Contents</A>@@;s@\[@\[@;s@\]@\]@' | sed '$ d;/^ *$/ d'
sed '0,/<H2>NAME<\/H2>/ d;/<H2>Index<\/H2>/,$ d;s@<A HREF="../index.html">Return to Main Contents</A>@@;s@\[@\[@;s@\]@\]@' | \
sed '$ d;/^ *$/ d' | \
sed 's@\(http://linux.die.net/man/[^+]*\)+@\1/@'
) | fossil wiki commit Manual
|