Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > 40b7f4a86b719c685c04b42c673d54b4 > files > 56

konsole-doc-4.11.4-1.mga4.noarch.rpm

#!/usr/bin/perl

# This script is here only as a pattern for maintainance works.
# It has changing contents and is of no use to anyone but me.

$source = "Table.Codes";

open(CODES, $source) || die "cannot open file '" . $source . "'.";

while (<CODES>) 
{
  if (/^attr/)
  {
    s/VT100/VT100 ANSI/ if (!/DEC/);
  }
  print $_;
}