tag 537782 + upstream
kthxbye
Hi,
On Tue, Jul 21, 2009 at 10:36:47AM +0200, Radovan Garabik wrote:
> > > $ 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.
>
> Sorry for not investigating it further yesterday, it was already too
> late and I was looking forward to the bed :-)
>
> The culprit is shell expansion: as long as your current working
> directory contains a file with one-letter name (one of ':uperlow'), shell
> will expand the expression to that (one letter long) name.
> I had a file named 'p' in my ~/
Now that makes sense, thanks!
> Actually, there is still another (minor) bug present: tr seems not to work
> with
> multibyte characters, so as long as your locale is UTF-8, it will fail
> to convert non-ASCII characters.
I'll have a look at it, but on the line you patched, tr only works on
part of the language code of the wikipedia instance (e.g. "en" for
"en.wikipedia.org", etc.) to be used, so it shouldn't be a real
problem at that point. I'll check for other occurrences though.
> I guess you do not need any of the information you asked anymore...
Right. And thanks for these details. Was late yesterday for me, too.
:-)
Regards, Axel
--
Axel Beckert - [email protected], [email protected] - http://noone.org/abe/
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]