Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Piatok, 16. október 2026

Rozdiely pre scripts/shell/docbook/db-html2man medzi verziami 1.16 a 1.17

verzia 1.16, 2002/09/06 00:38:04 verzia 1.17, 2002/09/09 01:45:02
Riadok 31  function remove_tag(s, reg)
Riadok 31  function remove_tag(s, reg)
                 return s;                  return s;
 } # }}}  } # }}}
   
 function complete_xref(str, reg)  function complete_xref(str)
 { # {{{  { # {{{
         reg1 = sprintf("<%s[^>]*>",   reg);          reg = "<xref[^>]*$";
   
         while (str !~ reg1) {          while (str ~ reg) {
 #               printf "BEFORE = '%s'\n", str;  #               printf "BEFORE = '%s'\n", str;
                 getline;                  getline;
                 str = sprintf("%s %s", str, $0);                  str = sprintf("%s %s", str, $0);
Riadok 48  function complete_xref(str, reg)
Riadok 48  function complete_xref(str, reg)
   
 function handle_xref(str)  function handle_xref(str)
 { # {{{  { # {{{
         str = complete_xref(str, "xref");          while (str ~ "<xref") {
                   str = complete_xref(str);
 # now we substitute tag <xref ...> with apropriate ID  # now we substitute tag <xref ...> with apropriate ID
         id = find_id(str);                  id = find_id(str);
         sub(/<xref[^>]*>/, sprintf("%s", get_field(id, 5)), str);                  sub(/<xref[^>]*>/, sprintf("%s", get_field(id, 5)), str);
           }
         print str;          print str;
 } # }}}  } # }}}
   

Legend:
Odstranené z verzie1.16  
zmenené riadky
  Pridané vo verzii1.17

Platon Group <platon@platon.sk> http://platon.sk/
Copyright © 2002-2006 Platon Group
Stránka používa redakčný systém Metafox
Na začiatok