Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Wednesday, October 14, 2026

Diff for scripts/shell/docbook/db-html2man between version 1.10 and 1.11

version 1.10, 2002/09/03 19:56:20 version 1.11, 2002/09/03 20:18:47
Line 10  function remove_lines(str)
Line 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;
Line 50  function handle_table(str)
Line 63  function handle_table(str)
                                 sub(/<\/entry>/, "</para>");                                  sub(/<\/entry>/, "</para>");
                         }                          }
                 }                  }
                   if ($0 ~ /<!-- MAN:$/)
                           handle_multiline_man();
   
                 print;                  print;
         }          }
Line 57  function handle_table(str)
Line 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

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11

Platon Group <platon@platon.org> http://platon.org/
Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top