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

Diff for scripts/shell/img2text/img2text between version 1.1 and 1.2

version 1.1, 2002/09/06 16:40:26 version 1.2, 2002/09/06 17:04:26
Line 35  BEGIN {
Line 35  BEGIN {
                 # we will background filled with spaces                  # we will background filled with spaces
                 colormap[color] = 32;                  colormap[color] = 32;
         }          }
         #if (prev_line != line) { # end of line          output[line] = sprintf("%s%c", output[line], colormap[color]);
         #       prev_line = line;  
         #       printf "\n";  
         #}  
         output[line, column] = colormap[color];  
         #printf "%c", colormap[color];  
 }  }
   
 END {  END {
         for (i = 0; i <= line; i++) {          for (i = 0; i <= line; i++) {
                 out = "";                  if (output[i] !~ /^ +$/)
                 for (j = 0; j <= column; j++) {                          printf "%s\n", output[i];
                         out = sprintf("%s%c", out, output[i, j]);  
                 }  
                 if (out !~ /^ +$/)  
                         printf "%s\n", out;  
         }          }
 }  }
   

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

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