Package: ispell
Version: 3.1.20.0-4
Severity: normal

Hi, David and Geoff

I have noticed a strange ispell behavior when strings starting by \sp are in
the text, like in \spanish or \special,

$ cat test.txt
\special
\spanish

$ cat test.txt | ispell -l -d american
ecial
anish

The same happens for

$ ispell -d american test.txt

On the contrary, aspell does the expected thing,

$ cat test.txt | aspell list -d american
spanish

Other backslashed words seem to have no problem.

This behavior is usually masked by the tex deformatter when file extension
is .tex, but gives strange results when is not or when file is piped for use
of the -l option, like in flyspell-large-region.

I tested this originally in our rather old ispell (3.1.20). But the same
problem is present in 3.3.01,

$ ./test.sh              
#!/bin/sh -v

WORDS="\special \spanish \exdfre"
./ispell -v | head -1
@(#) International Ispell Version 3.3.01 1 May 2005
echo $WORDS
\special \spanish \exdfre
echo $WORDS | ./ispell -l -d ./american
ecial
anish
exdfre

so I am (X-Debbugs-)cc'ing upstream for this.

[Do not reply to me directly, I will read replies to the bug number address]

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.4.27
Locale: LANG=es_ES, LC_CTYPE=es_ES (charmap=ISO-8859-1)

Versions of packages ispell depends on:
ii  dictionaries-comm 0.25.12                Common utilities for spelling dict
ii  iamerican [ispell 3.1.20.0-4             An American English dictionary for
... removed some other dicts
ii  libc6             2.3.2.ds1-22           GNU C Library: Shared libraries an
ii  libncurses5       5.4-4                  Shared libraries for terminal hand

-- no debconf information

Cheers,

-- 
Agustin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to