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.6 and 1.7

version 1.6, 2002/09/02 16:15:48 version 1.7, 2002/09/02 16:26:35
Line 1 
Line 1 
 #!/usr/bin/awk  #!/usr/bin/awk
   
   # $Id$
   
 function remove_lines(str)  function remove_lines(str)
 {  {
         while (getline) {          while (getline) {
Line 67  function handle_table(str)
Line 69  function handle_table(str)
         for (i = 1; i <= n; i++) {          for (i = 1; i <= n; i++) {
                 #printf "a[%d] = '%s'\n", i, a[i];                  #printf "a[%d] = '%s'\n", i, a[i];
                 if (a[i] ~ /<!-- MAN:/) {                  if (a[i] ~ /<!-- MAN:/) {
                         sub(/<!-- MAN:/, "", a[i]);                          sub(/<!-- MAN:[ \t]\+/, "", a[i]);
                         sub(/[ \t]+$/, "", a[i]);                          sub(/[ \t]+$/, "", a[i]);
                         printf "%s", a[i];                          printf "%s", a[i];
                 }                  }

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

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