Rozdiely pre libcfg+/Attic/db-html2man medzi verziami 1.10 a 1.11
| verzia 1.10, 2002/09/03 19:56:20 |
verzia 1.11, 2002/09/03 20:18:47 |
| Riadok 10 function remove_lines(str) |
|
| Riadok 10 function remove_lines(str) |
|
| return; |
return; |
| } |
} |
| |
|
| |
function handle_man(str) |
| |
{ |
| |
} |
| |
|
| |
function handle_multiline_man() |
| |
{ |
| |
while (getline) { |
| |
if ($0 ~ /^[ \t]+-->$/) break; |
| |
print; |
| |
} |
| |
return; |
| |
} |
| |
|
| function handle_table(str) |
function handle_table(str) |
| { |
{ |
| entries = 0; |
entries = 0; |
| Riadok 50 function handle_table(str) |
|
| Riadok 63 function handle_table(str) |
|
| sub(/<\/entry>/, "</para>"); |
sub(/<\/entry>/, "</para>"); |
| } |
} |
| } |
} |
| |
if ($0 ~ /<!-- MAN:$/) |
| |
handle_multiline_man(); |
| |
|
| print; |
print; |
| } |
} |
| Riadok 57 function handle_table(str) |
|
| Riadok 72 function handle_table(str) |
|
| |
|
| # multiline MAN: comment |
# multiline MAN: comment |
| /<!-- MAN:$/ { |
/<!-- MAN:$/ { |
| while (getline) { |
handle_multiline_man(); |
| if ($0 ~ /^-->$/) break; |
|
| print; |
|
| } |
|
| next; |
next; |
| } |
} |
| # MAN: on one line |
# MAN: on one line |
Platon Group <platon@platon.sk> http://platon.sk/
|
|