#!/usr/bin/perl -w use strict; use Debian::DictionariesCommon q(:all); use Getopt::Long; Getopt::Long::Configure("pass_through","no_auto_abbrev"); # Autoflush output buffers $|=1; my $class = "ispell"; my $dictionaries = loaddb ($class); my $emacsen; my $regexp; my $dryrun; # ------------------------------------------------- sub isoconv { # ------------------------------------------------- # Function to convert ISO-8859-1 (latin1) accented characters to # non-accented one. Of course, this only works for west European # languages. We might try to find a more general solution based on # the current locale character set. # ------------------------------------------------- my $s = shift; $s =~ y{A-Z