[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#845086: myspell-tools: truncates long replacement rules



Package: myspell-tools
Version: 1:3.1-24.2
Severity: normal
Tags: patch

is2my-spell.pl transforms:

suffixes
flag *g:
	S I E D S		>	-IEDS,EYENT\-ELLES

into

SFX g Y 185
SFX g   ieds       eyent\-ell sieds

it should be

SFX g Y 185
SFX g   ieds       eyent\-elles sieds

I attach the corresponding patch.

-- System Information:
Debian Release: 8.5
  APT prefers stable
  APT policy: (500, 'stable'), (300, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_LU.UTF-8, LC_CTYPE=fr_LU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)

Versions of packages myspell-tools depends on:
ii  libc6  2.23-4

myspell-tools recommends no packages.

myspell-tools suggests no packages.

-- no debconf information
--- /usr/bin/is2my-spell.pl	2016-09-25 17:11:41.000000000 +0200
+++ is2my-spell.pl	2016-11-20 10:13:36.243699763 +0100
@@ -52,7 +52,7 @@
     for my $def (@flgdefs) {
         #print $afxtype, ' ', $flgname, '   ', $def->{remove}, "\t",
         #      $def->{replace}, "\t", $def->{match}, "\n";
-        printf "%-3.3s %-1.1s   %-10.10s %-10.10s %s\n",
+        printf "%-3.3s %-1.1s   %-20.20s %-20.20s %s\n",
                $afxtype, $flgname,  $def->{remove}, $def->{replace}, $def->{match};
     }
     print "\n";

Reply to: