diff options
Diffstat (limited to 'man2html.sh')
-rwxr-xr-x | man2html.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/man2html.sh b/man2html.sh index 955f031..185da7c 100755 --- a/man2html.sh +++ b/man2html.sh @@ -1,6 +1,6 @@ #!/bin/sh -hostname="http://librb.kurwinet.pl" +hostname="http://librb.bofc.pl" out="$(pwd)/www/manuals" root="$(pwd)" ftmp="/tmp/mtest-man2html" @@ -34,7 +34,7 @@ do name="${name%.*}" version_info="$(head -n1 ${ftmp} | cut -f3 -d: | cut -f1 -d\<)" tail -n+2 "${ftmp}" > tmp; mv tmp "${ftmp}" - sed -i "1s/^/<p class=\"info left\">${name}(${n})<\/p><p class=\"info center\">kurwinet manual pages<\/p><p class=\"info right\">${name}(${n})<\/p>\n<br><P> /" "${ftmp}" + sed -i "1s/^/<p class=\"info left\">${name}(${n})<\/p><p class=\"info center\">bofc manual pages<\/p><p class=\"info right\">${name}(${n})<\/p>\n<br><P> /" "${ftmp}" # remove uneeded links to non-existing index sed -i 's/<A HREF="\.\.\/index.html">Return to Main Contents<\/A><HR>//' "${ftmp}" |