Hi,

On Mon, Jul 20, 2009 at 11:29:14PM +0200, Radovan Garabik wrote:
> Package: wikipedia2text
> Version: 0.10-2
> Severity: important
> Tags: patch
> 
> wikipedia2text does not work at all:
> 
> $ wikipedia2text -C Debian
> tr: misaligned [:upper:] and/or [:lower:] construct

Hmmm, I notice other minor issues with the automatic browser choice,
but I can't reproduce this issue currently on neither Debian Lenny nor
Sid.

Especially doesn't the line (which has been patched by you) give any
error for me in neither bash nor dash (only in zsh, but that's a
syntax error before tr gets called and not relevant anyway).

LOCAL="$(echo "${LOCAL}"|tr [:upper:] [:lower:])"

> Attached patch fixes the issue.

Thanks. Although the patch looks fine and reasonable I really would
like to find the cause for this misbehaviour.

> -- System Information:
> Debian Release: 5.0.2
>   APT prefers testing
>   APT policy: (900, 'testing'), (500, 'jaunty-updates'), (500, 
> 'jaunty-security'), (500, 'jaunty-backports'), (400, 'jaunty'), (300, 
> 'unstable'), (100, 'experimental')
> Architecture: i386 (i686)
> 
> Kernel: Linux 2.6.28-11-lpia (SMP w/1 CPU core)

This looks to me like partitally Debian Lenny ("5.0.2"), partially
Debian Squeeze/Sid (APT policy/APT prefers) and partially Ubuntu
(kernel, APT policy).

So since the versions of essential packages aren't obvious in that
case: Can you send me also the version of the following packages being
installed on that machine? I would be interested in the package
versions of bash, dash, and coreutils.

A complete output of "env" in a shell where you have this behaviour
could possibly be helpful, too.

> Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8)

That doesn't seem to be the reason. At least there's no difference
between my machines with LANG=C and LANG=de_DE.UTF-8, with neither
shell.

> Shell: /bin/sh linked to /bin/dash

This neither. Have that, too, and wikipedia2text is a bash script
anyway.

                Regards, Axel
-- 
Axel Beckert - a...@deuxchevaux.org, a...@noone.org - http://noone.org/abe/



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to