Diff for scripts/shell/docbook/db-html2man between version 1.21 and 1.22
| version 1.21, 2002/12/04 16:16:11 |
version 1.22, 2003/01/10 10:42:49 |
|
|
| # http://www.platon.sk/projects/scripts/ |
# http://www.platon.sk/projects/scripts/ |
| # |
# |
| |
|
| # $Platon: libcfg+/contrib/docbook/db-html2man,v 1.20 2002/10/07 10:54:40 rajo Exp $ |
# $Platon: libcfg+/contrib/docbook/db-html2man,v 1.21 2002/12/04 16:16:11 nepto Exp $ |
| |
|
| BEGIN { |
BEGIN { |
| read_id(IDfile); |
read_id(IDfile); |
| Line 126 function handle_table(str) |
|
| Line 126 function handle_table(str) |
|
| if (sub(/<\/table>/, "</variablelist>")) { return; } |
if (sub(/<\/table>/, "</variablelist>")) { return; } |
| |
|
| if ($0 ~ /<thead>/) { |
if ($0 ~ /<thead>/) { |
| remove_lines("^.*<\/thead>"); |
remove_lines("^.*</thead>"); |
| } |
} |
| sub(/<tgroup[^>]*>/, ""); |
sub(/<tgroup[^>]*>/, ""); |
| sub(/<\/tgroup>/, ""); |
sub(/<\/tgroup>/, ""); |
| Line 188 function handle_table(str) |
|
| Line 188 function handle_table(str) |
|
| |
|
| # remove "<sect1 .*</title>" -- MUST be on begin of the line! |
# remove "<sect1 .*</title>" -- MUST be on begin of the line! |
| /<sect1/ { |
/<sect1/ { |
| remove_lines("^.*<\/title>"); |
remove_lines("^.*</title>"); |
| next; |
next; |
| } |
} |
| |
|
Platon Group <platon@platon.org> http://platon.org/
|
|